blob: 58c611c985fc255120ed09a35fec837d433c5cb4 [file] [log] [blame]
// { dg-do compile { target c++17 } }
template <typename> class A;
template <class T> struct B {
static A a{T::a}; // { dg-error "int" }
};
void foo () { B<int> a; }