]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/deaggregator_test.rs
Rollup merge of #99864 - klensy:bootstrap-art-dupe, r=jyn514
[rust.git] / src / test / mir-opt / deaggregator_test.rs
1 struct Baz {
2     x: usize,
3     y: f32,
4     z: bool,
5 }
6
7 // EMIT_MIR deaggregator_test.bar.Deaggregator.diff
8 fn bar(a: usize) -> Baz {
9     Baz { x: a, y: 0.0, z: false }
10 }
11
12 fn main() {
13     // Make sure the function actually gets instantiated.
14     bar(0);
15 }