blob: fe90e7bfbe49aca5cd84e6241437e150873ae6f7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//@ run-pass
//@ proc-macro: count_compound_ops.rs
//@ ignore-backends: gcc
extern crate count_compound_ops;
use count_compound_ops::count_compound_ops;
fn main() {
assert_eq!(count_compound_ops!(foo<=>bar <<<! -baz ++), 4);
}
|