rust/tests/run-pass/trivial.rs
2016-04-14 14:54:59 +02:00

13 lines
173 B
Rust

#![crate_type = "lib"]
#![feature(custom_attribute)]
#![allow(dead_code, unused_attributes)]
#[miri_run]
fn empty() {}
#[miri_run]
fn unit_var() {
let x = ();
x
}