// PR c++/28593
// { dg-do compile }

void *p = new (::X;  // { dg-error "declared|type-specifier" }


syntax highlighted by Code2HTML, v. 0.9.1