URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [local5.C] - Rev 801
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