rust/tests/ui/fuel/print-fuel.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
295 B
Rust
Raw Normal View History

2017-03-10 19:24:50 +00:00
#![crate_name="foo"]
#![allow(dead_code)]
// (#55495: The --error-format is to sidestep an issue in our test harness)
//@ compile-flags: -C opt-level=0 --error-format human -Z print-fuel=foo
//@ check-pass
2017-03-10 19:24:50 +00:00
struct S1(u8, u16, u8);
struct S2(u8, u16, u8);
struct S3(u8, u16, u8);
fn main() {
}