Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto42.C
blob: 5b2f6779aafc65c95ce8852016b6af810ba7425d [
file
] [
log
] [
blame
]
// PR c++/60628
// { dg-do compile { target c++11 } }
#include
<initializer_list>
void
foo
(
int
i
)
{
auto
x
[
1
]
=
{
0
};
// { dg-error "19:unable to deduce" }
}