blob: d81ffb63a967c20fa312a202c3aec3ba501a341b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Build don't link:
// Origin: "Artem Hodyush" <artem@duma.gov.ru>
struct B { int m; };
template< class T >
void
q( T& t ) {
t.T::m=1;
}
void f() {
B b;
b.B::m=1;
q( b );
}
|