X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fincomplete.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fincomplete.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=f5e9a581faf98d97c83849be667089d3532e5cab;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index f5e9a581..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/incomplete.C +++ /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