blob: 530dbff23e14e1e2358531e356ff6dac7d5ef058 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-fpermissive" }
typedef int b[2];
void a() {
new b(a); // { dg-error "parenthesized initializer in array new|invalid conversion" }
}