Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6812.41.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist26.C
blob: 81d304f0e9ea87fa17cb9ed3c4c28442b82a751b [
file
] [
log
] [
blame
]
// PR c++/42059
// { dg-do compile { target c++11 } }
// { dg-options "" { target { ! c++1y } } }
void
foo
(
int
i
)
{
int
a
[
i
];
a
=
{
};
// { dg-error "assign" }
}