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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
lookup2.C
blob
3d9f0605a18640c609e1d46ea21f93d78b8e491a
1
// { dg-do assemble }
2
// { dg-options "-fpermissive" }
3
4
class A
5
{
6
protected:
7
void f1() {};
8
};
9
10
template <class T> class B : private A {
11
protected:
12
using A::f1;
13
};
14
15
template <class T> class D : private B<T>
16
{
17
public:
18
void f2() { f1(); }; // { dg-warning "" }
19
};
20