URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [other/] [anon3.C] - Rev 308
Go to most recent revision | Compare with Previous | Blame | View Log
// pr c++/15049
// Origin: Matt Austern <austern@apple.com>
// Test that we can declare a global variable whose type is anonymous.
// { dg-do compile }
enum { a = 3 } x; // { dg-warning "anonymous type" }
Go to most recent revision | Compare with Previous | Blame | View Log