Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto43.C
blob: 45a827553d067238cacca9e705f0cb48fc26bb44 [
file
] [
log
] [
blame
]
// PR c++/59114
// { dg-do compile { target c++11 } }
template
<int>
struct
A
{
template
<
typename
T
>
operator
T
();
};
void
foo
()
{
A
<
0
>().
operator
auto
();
// { dg-error "invalid use of .auto" }
}