Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/inline-ns1.C

raw
1 // { dg-do compile { target c++11 } }
2 // { dg-final { scan-assembler "_ZN1Q2V11fEv" } }
3 // { dg-final { scan-assembler "_ZN1Q2V11iE" } }
4
5 namespace Q {
6 inline namespace V1 {
7 extern int i;
8 void f();
9 }
10 }
11 int Q::i = 1;
12 void Q::f() { }