diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 1998-05-20 10:04:35 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1998-05-20 10:04:35 +0000 |
commit | 74ce357fe573e71738be83c52042f5ce9b10fb5c (patch) | |
tree | 17c2a4ba0b973492c21b3684ce1b3b97569bfc53 | |
parent | 3568074438b66ec38030db7e1a604158f73fc630 (diff) | |
download | gcc-74ce357fe573e71738be83c52042f5ce9b10fb5c.zip gcc-74ce357fe573e71738be83c52042f5ce9b10fb5c.tar.gz gcc-74ce357fe573e71738be83c52042f5ce9b10fb5c.tar.bz2 |
new test
From-SVN: r19908
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/main1.C | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/main1.C b/gcc/testsuite/g++.old-deja/g++.other/main1.C new file mode 100644 index 0000000..09ab4113 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/main1.C @@ -0,0 +1,12 @@ +// Build don't linK: + +int main() +{ // ERROR - invalid redeclaration of + return 0; +} + + +int main(int, const char**) +{ // ERROR - as + return 0; +} |