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++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-61.C
blob
670d91a158ce6e65e3371427fa495d6292df32b3
1
// PR c++/83714
2
// { dg-do compile { target c++11 } }
3
4
class a {
5
typedef int b;
6
operator b();
7
};
8
struct c {
9
using d = a;
10
};
11
using e = c;
12
13
template <class T>
14
e f(T) {
15
return e::d {}; // { dg-error "could not convert" }
16
}