1 // { dg-do compile { target c++11 } } 2 // { dg-final { scan-assembler "_ZN1B1gIcEEN7__cxx111XEv" } } 3 4 inline namespace __cxx11 __attribute__((__abi_tag__ ("ABI_TAG"))) { 5 class X {}; 6 } 7 struct B { 8 X f(); 9 template <class U> X g(); 10 }; main()11int main() { 12 B b; 13 b.g<char>(); 14 return 0; 15 } 16