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

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

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