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