summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/count_compound_ops.rs
blob: 2cb8718448898d5e4c966e08085fc7de094eec51 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
// 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);
}