summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle29.C
blob: aaff2b4eb68be2cce8600e70e53818bc35adec5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Test of std::basic_ostream<char, std::char_traits<char> > mangling

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

namespace std {
  template<typename> struct char_traits;

  template<typename, typename> struct basic_ostream { basic_ostream(){} };
}

std::basic_ostream<char,std::char_traits<char> > s1;

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