PR c++/60095 - partial specialization of variable templates
[gcc.git] / gcc / testsuite / g++.dg / cpp1y / var-templ51.C
1 // PR c++/60095
2 // { dg-do link { target c++14 } }
3
4 template <class>
5 constexpr bool b = false;
6 template<typename T>
7 constexpr bool b<T*> = true;
8 int main() {
9 b<int*>;
10 b<double*>;
11 }