1 // PR c++/66210 2 // { dg-do compile { target c++14 } } 3 4 using resultType = const char*; 5 6 template<typename T> 7 T pi = (T)(3.1415926535897932385); 8 9 template<> 10 resultType pi<resultType> = "pi"; 11 foo()12 void foo() 13 { 14 (void)pi<resultType>; 15 } 16