]> git.lizzy.rs Git - rust.git/blob - src/test/ui/nll/promoted-liveness.rs
Rollup merge of #105216 - GuillaumeGomez:rm-unused-gui-test, r=notriddle
[rust.git] / src / test / ui / nll / promoted-liveness.rs
1 // Test that promoted that have larger mir bodies than their containing function
2 // don't cause an ICE.
3
4 // check-pass
5
6 fn main() {
7     &["0", "1", "2", "3", "4", "5", "6", "7"];
8 }