URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [qual-return-4.c] - Rev 154
Compare with Previous | Blame | View Log
/* Test for warnings for qualified function return types. -pedantic test. Only the definition gets a warning for qualified void return types, not other such types within the definition. */ /* Origin: Joseph Myers <jsm@polyomino.org.uk> */ /* { dg-do compile } */ /* { dg-options "-pedantic" } */ volatile void (*y)(int); volatile void (*vvf(int x))(int) { return y; }