]> git.lizzy.rs Git - rust.git/blob - tests/ui/print-fuel/print-fuel.rs
Rollup merge of #106470 - ehuss:tidy-no-wasm, r=Mark-Simulacrum
[rust.git] / tests / ui / print-fuel / print-fuel.rs
1 #![crate_name="foo"]
2 #![allow(dead_code)]
3
4 // (#55495: The --error-format is to sidestep an issue in our test harness)
5 // compile-flags: -C opt-level=0 --error-format human -Z print-fuel=foo
6 // check-pass
7
8 struct S1(u8, u16, u8);
9 struct S2(u8, u16, u8);
10 struct S3(u8, u16, u8);
11
12 fn main() {
13 }