rust/src/test/run-pass/macro.rs
2011-07-14 10:27:02 -07:00

6 lines
79 B
Rust

// xfail-stage0
fn main() {
#macro([#m1(a), a*4]);
assert (#m1(2) == 8);
}