blob: 24ae76b9029918533494fce4fa68931108b79d40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// This is a regression test for https://github.com/rust-lang/rust/issues/118047
// build-pass
// compile-flags: -Zmir-opt-level=0 -Zmir-enable-passes=+DataflowConstProp
#![crate_type = "lib"]
pub struct State {
inner: bool
}
pub fn make() -> State {
State {
inner: true
}
}
|