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
PR c++/67273
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using55.C
blob
61098b186fb37907a7b29094c81f57007c0841b7
1
// PR c++/65721
2
3
template<typename T>
4
struct A {
5
typedef T D;
6
};
7
8
template<typename X>
9
class B : public A<X> {
10
using typename B::D; // { dg-error "not a base" }
11
public:
12
D echo(D x) { // { dg-error "D" }
13
return x;
14
}
15
};
16
17
int main() {
18
B<int> b;
19
}