blob: ee59402af386ba1d16ec8ffd93edfd1889acc608 [file] [log] [blame]
// unit-test: Deaggregator
struct Baz {
x: usize,
y: f32,
z: bool,
}
// EMIT_MIR deaggregator_test.bar.Deaggregator.diff
fn bar(a: usize) -> Baz {
Baz { x: a, y: 0.0, z: false }
}
fn main() {
// Make sure the function actually gets instantiated.
bar(0);
}