URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [inline-ns1.C] - Rev 693
Compare with Previous | Blame | View Log
// { dg-options -std=c++0x }
// { dg-final { scan-assembler "_ZN1Q2V11fEv" } }
// { dg-final { scan-assembler "_ZN1Q2V11iE" } }
namespace Q {
inline namespace V1 {
extern int i;
void f();
}
}
int Q::i = 1;
void Q::f() { }