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.5.1/] [gcc/] [testsuite/] [gcc.dg/] [deprecated-5.c] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test __attribute__((deprecated)). Test types without names. */ /* Origin: Joseph Myers <jsm@polyomino.org.uk> */ /* { dg-do compile } */ /* { dg-options "" } */ struct { int a; } __attribute__((deprecated ("Do not use"))) x; /* { dg-warning "type is deprecated" } */ typeof(x) y; /* { dg-warning "type is deprecated .declared at .*.: Do not use" } */
Go to most recent revision | Compare with Previous | Blame | View Log