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