Sign in
gnu
/
gcc
/
7d75ea04cf6d9c8960d5c6119d6203568b7069e9
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist26.C
blob: 8fd267f4409f5a25aa90594c2e36e8d113bb4b15 [
file
] [
log
] [
blame
]
// PR c++/42059
// { dg-do compile { target c++11 } }
// { dg-options "" }
void
foo
(
int
i
)
{
int
a
[
i
];
a
=
{
};
// { dg-error "assign" }
}