1 // PR c++/53356
2 // { dg-options "-fdump-tree-gimple" }
3 // { dg-final { scan-tree-dump-not "= 0" "gimple" } }
4 // { dg-final { cleanup-tree-dump "gimple" } }
5 
6 class A {};
7 
8 struct B {
9     operator const A &() const;
10 };
11 
cause_ICE()12 A* cause_ICE() {
13     return new A(B());
14 }
15