Testecase from PR #3336

From-SVN: r44819
This commit is contained in:
Gabriel Dos Reis 2001-08-12 08:04:34 +00:00
parent ce55d248ca
commit 4c8c7b0ddf

View File

@ -0,0 +1,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();
}