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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename3.C
blob
8aea44639719c8a224781ba8804dbb85758a9aa6
1
// Build don't link:
2
// Special g++ Options: -Wno-deprecated
3
4
template <class T>
5
struct A
6
{
7
typedef T A_Type;
8
};
9
10
11
template <class U>
12
struct B : public A<U>
13
{
14
A_Type Func(); // WARNING - implicit typename
15
};
16
17
18
template <class U>
19
B<U>::A_Type B<U>::Func() { // WARNING - implicit typename
20
}