URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [label10.C] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/33836
// { dg-do compile }
// { dg-options "" }
template<int N> struct A
{
enum { M = && N }; // { dg-error "referenced outside|cannot appear in|not an integer constant" }
};
A<0> a;
void foo ()
{
__label__ P;
enum { O = && P }; // { dg-error "cannot appear in|not an integer constant" }
P:;
}
Go to most recent revision | Compare with Previous | Blame | View Log