1 // Tests that no ICE occurs when a closure appears inside a node
2 // that does not have a body when compiling with
3 // compile-flags: -Zthir-unsafeck=yes
9 inner: [(); match || 1 {
10 _n => 42, // we may not call the closure here (E0015)
15 V([(); { let _ = || 1; 42 }]),
18 type Ty = [(); { let _ = || 1; 42 }];