Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/new2.C

raw
1 // { dg-do run }
2 // { dg-options "-Wno-deprecated -fno-exceptions" }
3 // PRMS Id: 6267
4
5 struct A {
6 int i;
7 A() { i = 2; }
8 };
9
10 int
11 main()
12 {
13 A *p = new A ();
14 return 0;
15 }