mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
10 lines
206 B
Rust
10 lines
206 B
Rust
//@ 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);
|
|
}
|