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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename5.C
blob
bb97158ca0aa0f3ea23b83cfc77c70e0296405f4
1
// { dg-do assemble }
2
// { dg-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
};
15
16
17
template <class U>
18
struct C : public B<U>
19
{
20
void Func(A_Type); // { dg-warning "" } implicit typename
21
};
22
23
24
template <class U>
25
void C<U>::Func(A_Type) { // { dg-warning "" } implicit typename
26
}