tree-optimization/116481 - avoid building function_type[]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / var-templ58.C
blobf9095f61e67e29331ff8c7c27c17492859860954
1 // PR c++/71569
2 // { dg-do compile { target c++14 } }
4 template <class T>
5 struct A {
6   template <class U>
7   static const U u;
8 };
10 template <class T>
11 template <class U>
12 const U A<T>::u<U> = 0; // { dg-error "does not specialize" }