URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [declspec-17.c] - Rev 867
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test diagnostic for empty declarations in old-style parameter declarations. Test with -pedantic-errors. */ /* Origin: Joseph Myers <joseph@codesourcery.com> */ /* { dg-do compile } */ /* { dg-options "-std=gnu89 -pedantic-errors" } */ void f (a, b) int; /* { dg-error "error: empty declaration" } */ register; /* { dg-error "error: empty declaration" } */ { }
Go to most recent revision | Compare with Previous | Blame | View Log