rust/tests/run-pass/trivial.rs

14 lines
164 B
Rust
Raw Normal View History

2016-03-12 21:32:24 -06:00
#![feature(custom_attribute)]
#![allow(dead_code, unused_attributes)]
#[miri_run]
fn empty() {}
#[miri_run]
fn unit_var() {
let x = ();
x
}
2016-04-22 03:34:14 -05:00
fn main() {}