]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/deaggregator_test.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / mir-opt / deaggregator_test.rs
CommitLineData
f2b60f7d
FG
1// unit-test: Deaggregator
2
5bcae85e
SL
3struct Baz {
4 x: usize,
5 y: f32,
6 z: bool,
7}
8
3dfed10e 9// EMIT_MIR deaggregator_test.bar.Deaggregator.diff
5bcae85e
SL
10fn bar(a: usize) -> Baz {
11 Baz { x: a, y: 0.0, z: false }
12}
13
abe05a73
XL
14fn main() {
15 // Make sure the function actually gets instantiated.
16 bar(0);
17}