1 // PR c++/47450
2 
3 struct A { };
4 A* ap = new(struct: A { });	// { dg-error "types may not be defined" }
5