1 // { dg-do assemble  }
2 
3 // gcc represents non-ellipsis parmlists by terminating them with
4 // a void parm. We need to distinguish between a parmlist of (void), and
5 // some ill-formed ones.
6 
7 struct S; // { dg-error "" } forward ref
8 
9 void f(S);            // ok
f(S s)10 void f(S s) {}        // { dg-error "" } incomplete type
j(int)11 void j (int){}        // ok
k()12 void k (){}           // ok
q(void)13 void q (void){}       // ok
14 void t (void t);      // { dg-error "" } incomplete
15 void r (void, ...);   // { dg-error "" } incomplete
16 void s (void const);  // { dg-error "" } incomplete
17