]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
new test
authorMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 20 May 1998 10:04:35 +0000 (10:04 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 20 May 1998 10:04:35 +0000 (10:04 +0000)
From-SVN: r19908

gcc/testsuite/g++.old-deja/g++.other/main1.C [new file with mode: 0644]

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 (file)
index 0000000..09ab411
--- /dev/null
@@ -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;
+}