mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 17:14:50 +00:00
10 lines
208 B
Rust
10 lines
208 B
Rust
//@ run-pass
|
|
//@ proc-macro: 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);
|
|
}
|