summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle26.C
blob: 5d1609596b909ba28bdc0203865a58e6743ec6dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Test of std mangling

// { dg-do compile }
// { dg-options "-fno-inline" }

namespace std {
  struct A {
    A() { }
  };
}

std::A a;

// { dg-final { scan-assembler "\n_?_ZNSt1AC\[12\]Ev\[: \t\n\]" } }