PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / new5.C
blob83937c6e9c14f4ed9da4f041052dfb9e84e10f36
1 // PR c++/47450
3 struct A { };
4 A* ap = new(struct: A { });     // { dg-error "types may not be defined" }