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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit7.C
1
// Origin: PR c++/48656
2
// { dg-options "-std=c++0x" }
3
// { dg-do compile }
4
5
struct A {
6
int f();
7
int f(int);
8
};
9
10
template <typename> struct B : A
11
{
12
};
13
14
template <typename T> struct C : B<T>
15
{
16
void
17
g()
18
{
19
A::f();
20
}
21
};