2019-07-27 00:54:25 +03:00
|
|
|
//@ run-pass
|
2024-11-24 17:37:25 -08:00
|
|
|
//@ proc-macro: count_compound_ops.rs
|
2025-09-26 13:59:06 +02:00
|
|
|
//@ ignore-backends: gcc
|
2017-03-31 04:08:33 +00:00
|
|
|
|
|
|
|
|
extern crate count_compound_ops;
|
|
|
|
|
use count_compound_ops::count_compound_ops;
|
|
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|
assert_eq!(count_compound_ops!(foo<=>bar <<<! -baz ++), 4);
|
|
|
|
|
}
|