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
204 B
Rust
Raw Normal View History

// run-pass
2017-03-31 04:08:33 +00: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);
}