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