Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/lookup9.C

raw
1 // { dg-do assemble }
2 // Origin: "Artem Hodyush" <[email protected]>
3
4 struct B { int m; };
5
6 template< class T >
7 void
8 q( T& t ) {
9 t.T::m=1;
10 }
11
12 void f() {
13 B b;
14 b.B::m=1;
15 q( b );
16 }