PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / ext / vla5.C
blobca583091769f6da191d567f3e5fcf3e781781998
1 // PR c++/37417
2 // Testcase by Martin Michlmayr <tbm@cyrius.com>
3 // { dg-do compile }
4 // { dg-options "-O" }
6 void
7 test (int a)
9   new (char[a]); // { dg-warning "parentheses" }