1// PR 16254
2// { dg-do compile }
3// We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of A.
4
5struct A
6{
7  ~A ();
8  A (int);
9};
10
11int bar (const A &);
12
13void
14foo (int i)
15{
16  int format[1] = { bar (A (i)) };
17}
18