scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

0018-voidparam.c (253B)


      1 /*
      2 PATTERN:
      3 0018-voidparam.c:27: error: a named argument is requiered before '...'
      4 .
      5 */
      6 
      7 
      8 int
      9 a(void, int i)
     10 {
     11 	return 0;
     12 }
     13 
     14 int
     15 b(int i, void)
     16 {
     17 	return 0;
     18 }
     19 
     20 int
     21 c(void, void)
     22 {
     23 	return 0;
     24 }
     25 
     26 int
     27 d(void, ...)
     28 {
     29 	return 0;
     30 }
     31 
     32 int
     33 main()
     34 {
     35 	return 0;
     36 }