URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [local5.C] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
struct Attribute { };
template <class T> bool operator == (const Attribute &attr, const T &value);
enum {
anon = 123
};
void test(int foo)
{
if (foo == anon) ; /* { dg-bogus "anonymous type" } */
}
Go to most recent revision | Compare with Previous | Blame | View Log