blob: ba0927826534f5772200566d8153f782bc00ff74 [file] [log] [blame]
// PR c++/66210
// { dg-do compile { target c++14 } }
using resultType = const char*;
template<typename T>
T pi = (T)(3.1415926535897932385);
template<>
resultType pi<resultType> = "pi";
void foo()
{
(void)pi<resultType>;
}