URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [qual-return-4.c] - Rev 686
Go to most recent revision | 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; }
Go to most recent revision | Compare with Previous | Blame | View Log