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