summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/mangle27.C
blob: 2d15abbf96124c91699e9cd1c0c513772ca08408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Test of std::basic_iostream<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_iostream { basic_iostream(){} };
}

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

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