OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testecase from PR #3336
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit.C
1
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
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
}