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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
206 B
Rust
Raw Normal View History

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