From: Mark Mitchell Date: Wed, 20 May 1998 10:04:35 +0000 (+0000) Subject: new test X-Git-Tag: prereleases/egcs-1.1-prerelease~1179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74ce357fe573e71738be83c52042f5ce9b10fb5c;p=thirdparty%2Fgcc.git new test From-SVN: r19908 --- 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 000000000000..09ab4113f9d0 --- /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; +}