summary refs log tree commit diff
path: root/src/test/run-pass/proc-macro/count_compound_ops.rs
blob: f42d82ce046d1dc214060fd8a421041addb5f6e6 (plain)
1
2
3
4
5
6
7
8
9
10
// 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);
}