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

9 lines
181 B
Rust
Raw Normal View History

// 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"];
}