From 74ce357fe573e71738be83c52042f5ce9b10fb5c Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 20 May 1998 10:04:35 +0000 Subject: [PATCH] new test From-SVN: r19908 --- gcc/testsuite/g++.old-deja/g++.other/main1.C | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.other/main1.C 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; +}