summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/promoted-liveness.rs
blob: e5a8e1e5c2fccd1c2c616f67941e42addffc000a (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"];
}