// { dg-do compile } // Mangling of classes from std::decimal are special-cased. // Derived from g++.dg/abi/mangle35.C. namespace std { namespace decimal { class decimal128 { public: typedef float __decfloat128 __attribute__ ((mode (TD))); explicit decimal128 (int __r):__val (__r) {} private: __decfloat128 __val; }; } } template struct A {}; template void foo(); template A > bar(); void baz() { bar(); } // { dg-final { scan-assembler "_Z3barIDeE1AIX3fooIT_EEEv" } }