URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [qual-return-4.c] - Rev 690
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