Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / var-templ28.C
blobba0927826534f5772200566d8153f782bc00ff74
1 // PR c++/66210
2 // { dg-do compile { target c++14 } }
4 using resultType = const char*;
6 template<typename T>
7 T pi = (T)(3.1415926535897932385);
9 template<>
10 resultType pi<resultType> = "pi";
12 void foo()
14   (void)pi<resultType>;