rust/tests/pass/trivial.rs
2022-06-01 10:53:38 -04:00

12 lines
99 B
Rust

fn empty() {}
fn unit_var() {
let x = ();
x
}
fn main() {
empty();
unit_var();
}