summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/new2.C
blob: 612c5e2d6e2592adb68e1319a06858aa12a25245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PRMS Id: 6267
// Special g++ Options: -fthis-is-variable -fno-exceptions

struct A {
  int i;
  A() { i = 2; }
};
 
main()
{
  A *p = new A ();
}