]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/incomplete.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / incomplete.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/incomplete.C b/gcc/testsuite/g++.old-deja/g++.other/incomplete.C
deleted file mode 100644 (file)
index f5e9a58..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-
-// gcc represents non-ellipsis parmlists by terminating them with
-// a void parm. We need to distinguish between a parmlist of (void), and
-// some ill-formed ones.
-
-struct S; // ERROR - forward ref
-
-void f(S);            // ok
-void f(S s) {}        // ERROR - incomplete type
-void j (int){};       // ok
-void k (){};          // ok
-void q (void){}       // ok
-void t (void t);      // ERROR - incomplete
-void r (void, ...);   // ERROR - incomplete
-void s (void const);  // ERROR - incomplete