Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-61.C
blob: 670d91a158ce6e65e3371427fa495d6292df32b3 [
file
] [
log
] [
blame
]
// PR c++/83714
// { dg-do compile { target c++11 } }
class
a
{
typedef
int
b
;
operator
b
();
};
struct
c
{
using
d
=
a
;
};
using
e
=
c
;
template
<
class
T
>
e f
(
T
)
{
return
e
::
d
{};
// { dg-error "could not convert" }
}