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