rust/tests/ui/proc-macro/count_compound_ops.rs

10 lines
206 B
Rust
Raw Normal View History

//@ run-pass
//@ aux-build:count_compound_ops.rs
2017-03-30 23:08:33 -05:00
extern crate count_compound_ops;
use count_compound_ops::count_compound_ops;
fn main() {
assert_eq!(count_compound_ops!(foo<=>bar <<<! -baz ++), 4);
}