summary refs log tree commit diff
path: root/src/test/ui/proc-macro/count_compound_ops.rs
blob: 966ab616cdf0c9f1464bafe315940a431f30e5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// aux-build:count_compound_ops.rs

#![feature(proc_macro_hygiene)]

extern crate count_compound_ops;
use count_compound_ops::count_compound_ops;

fn main() {
    assert_eq!(count_compound_ops!(foo<=>bar <<<! -baz ++), 4);
}