Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto11.C
blob: 208f512a68551827d86015124df72e3fc03aa425 [
file
] [
log
] [
blame
]
// PR c++/38256
// { dg-do compile { target c++11 } }
template
<int>
struct
A
{
template
<
typename
T
>
operator
T
();
};
void
foo
()
{
A
<
0
>().
operator
auto
();
// { dg-error "auto" }
}