1 // Test that we have one EH cleanup region for the whole array
2 // rather than one for each element.
3 // { dg-options "-fdump-tree-gimple" }
4 
5 struct A
6 {
7   A();
8   ~A();
9 };
10 
f()11 void f()
12 {
13   A a[10] = { };
14 }
15 
16 // { dg-final { scan-tree-dump-times "catch" 1 "gimple" } }
17