summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/inline-ns1.C
blob: e422d8970f1630704f6bd3d1086b6645351ebe97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { 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() { }