blob: ca583091769f6da191d567f3e5fcf3e781781998 [file] [log] [blame]
// PR c++/37417
// Testcase by Martin Michlmayr <tbm@cyrius.com>
// { dg-do compile }
// { dg-options "-O" }
void
test (int a)
{
new (char[a]); // { dg-warning "parentheses" }
}