OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/20669
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
typename14.C
1
// { dg-do assemble }
2
// { dg-options "-Wno-deprecated" }
3
4
template <class T>
5
struct B {
6
typedef T X;
7
};
8
9
template <class T>
10
struct S : public B<T>
11
{
12
struct I {
13
void f(X x); // { dg-error "'X' has not been declared" } implicit typename
14
};
15
};