OSDN Git Service

Add -Wno-deprecated
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / new2.C
1 // PRMS Id: 6267
2 // Special g++ Options: -Wno-deprecated -fthis-is-variable -fno-exceptions
3
4 struct A {
5   int i;
6   A() { i = 2; }
7 };
8  
9 main()
10 {
11   A *p = new A ();
12 }