blob: 43af3cfc5ac622a8ee3a22ddd6b8342edb11a74a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
// { dg-do compile }
template<typename T>
struct X { void f() { } };
struct Z : X<int> { };
int main()
{
Z z;
z.X::f();
}
|