blob: ba15d96762dfaca63afcf82951e209263b202962 [file] [log] [blame]
// Bug: the SAVE_EXPR in the new expression remembers that it's in g(),
// causing the compiler to crash in h().
// Build don't link:
struct A {
A ();
};
void f (A* = new A);
void g ()
{
f ();
}
void h ()
{
f ();
}