blob: 22b4875e32a1c8159742409de8e7aa72251168d1 [file] [log] [blame]
// { dg-do run }
// prms-id: 6927
class Object {
public:
Object();
int Value;
};
Object::Object() : Value(-1) { }
Object *pArr = new Object[2];
int main() {
if (pArr[0].Value != -1 || pArr[1].Value != -1)
return 1;
}