☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit.C
☽
☼
gcc/testsuite/g++.dg/template/inherit.C
code
plain
raw
1
// Contributed by Gabriel Dos Reis <
[email protected]
>
2
// { dg-do compile }
3
4
template<typename T>
5
struct X { void f() { } };
6
7
struct Z : X<int> { };
8
9
int main()
10
{
11
Z z;
12
z.X::f();
13
}