Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-6812.14.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist28.C
blob: 3bf995ad236344b83ea1e45b0023f42f39792e75 [
file
] [
log
] [
blame
]
// PR c++/42060
// { dg-do compile { target c++11 } }
void
foo
()
{
int
a
[
1
];
throw
a
=
{};
// { dg-error "assign" }
}