summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle44.C
blob: 8454148421cca25e947a0be0c066aecc900f5f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// PR c++/45008

template <typename T>
struct A
{
  void fn1 () {
   struct Nested {
    static void fn2 () { }
   };
   Nested::fn2();
  }
};

void fn3 () {
  A<double> a;
  a.fn1();
}

// { dg-final { scan-assembler-not "_ZZN1AIT_E3fn1EvEN6Nested3fn2Ev" } }