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
/
typename7.C
blob
e7f3790aca4ce0228b2d1ec97eb720cb6d4e9e7c
1
// { dg-do assemble }
2
// { dg-options "" }
3
// Test for implicit typename
4
5
template <class T>
6
struct A {
7
protected:
8
typedef struct B { } B;
9
};
10
11
template <class T>
12
struct C { };
13
14
template <class T>
15
struct D : public A <C <T> > {
16
void f ()
17
{
18
B* new_entries = (B *) 0; // { dg-warning "" } implicit typename
19
}
20
};