PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / access26.C
blobb17baa71cab49c6177040e08f7a16143af437ee9
1 // PR c++/45917
3 template < typename T >
4 struct A { static int i; };
5 class B { typedef int X; };     // { dg-message "private" }
6 void f() { A<B::X>::i = 0; }    // { dg-error "this context" }