blob: 4a1dc79eef4184ac8e5da92fce01b3a3c296e6b0 [file] [log] [blame]
// PR c++/50848
// { dg-options "-fpermissive" }
template<class T> class A {T& foo;};
template<class T> class B: public A<T> {
void f(){
foo(1); // { dg-message "foo" }
}
};
template class B<int>;