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/] [static2.C] - Rev 301
Compare with Previous | Blame | View Log
//PR c++/26573
void foo()
{
struct A { static int i; }; // { dg-error "shall not have" }
}
template<typename T>
void bar()
{
struct B { static int j; }; // { dg-error "shall not have" }
}