repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libiberty: Fix comment typos
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit7.C
blob
b3abc26b98c87cfd0229838a7b09edc0c0988a7d
1
// Origin: PR c++/48656
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
int f();
6
int f(int);
7
};
8
9
template <typename> struct B : A
10
{
11
};
12
13
template <typename T> struct C : B<T>
14
{
15
void
16
g()
17
{
18
A::f();
19
}
20
};