1 // Test of std::basic_ostream<char, std::char_traits<char> > mangling
2 
3 // { dg-do compile }
4 // { dg-options "-fno-inline" }
5 
6 namespace std {
7   template<typename> struct char_traits;
8 
basic_ostreambasic_ostream9   template<typename, typename> struct basic_ostream { basic_ostream(){} };
10 }
11 
12 std::basic_ostream<char,std::char_traits<char> > s1;
13 
14 // { dg-final { scan-assembler "\n_?_ZNSoC\[12\]Ev\[: \t\n\]" } }
15