PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / lookup9.C
blob4a1dc79eef4184ac8e5da92fce01b3a3c296e6b0
1 // PR c++/50848
2 // { dg-options "-fpermissive" }
4 template<class T> class A {T& foo;};
5 template<class T> class B: public A<T> {
6   void f(){
7     foo(1);                     // { dg-message "foo" }
8   }
9 };
10 template class B<int>;