Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/pr86648.C

raw
1 // { dg-do compile { target c++17 } }
2
3 template <typename> class A;
4 template <class T> struct B {
5 static A a{T::a}; // { dg-error "int" }
6 };
7 void foo () { B<int> a; }