about summary refs log tree commit diff
path: root/tests/ui/nll/promoted-liveness.rs
blob: dee95f2ef2d81aa86574703e0daf58a3f0402721 (plain)
1
2
3
4
5
6
7
8
// 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"];
}