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; +}