rust/tests/ui/nll/promoted-liveness.rs

9 lines
182 B
Rust

// Test that promoted that have larger mir bodies than their containing function
// don't cause an ICE.
//@ check-pass
fn main() {
&["0", "1", "2", "3", "4", "5", "6", "7"];
}