Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
}