Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/var-templ58.C

raw
1 // PR c++/71569
2 // { dg-do compile { target c++14 } }
3
4 template <class T>
5 struct A {
6 template <class U>
7 static const U u;
8 };
9
10 template <class T>
11 template <class U>
12 const U A<T>::u<U> = 0; // { dg-error "does not specialize" }