Commit 4c8dad30 by Richard Henderson

Test case for PR 16254.

From-SVN: r87408
parent 373c0e7f
// PR 16254
// { dg-do compile }
// We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
struct A
{
~A ();
A (int);
};
int bar (const A &);
void
foo (int i)
{
int format[1] = { bar (A (i)) };
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment