URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [namespace-definition.C] - Rev 717
Go to most recent revision | Compare with Previous | Blame | View Log
// PR 30891
// { dg-do compile }
int main() {
int i = 0;
namespace foo { // { dg-error "'namespace' definition is not allowed here" }
int j = 0;
}
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log