Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.other / defarg5.C
blob9b294766f3d697491e95a801f1315da4e6b10704
1 // { dg-do assemble  }
2 // Bug: the SAVE_EXPR in the new expression remembers that it's in g(),
3 // causing the compiler to crash in h().
6 struct A {
7   A ();
8 };
10 void f (A* = new A);
12 void g ()
14   f ();
17 void h ()
19   f ();