summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/bang-macro.rs
blob: 92810791314df5ea0d3da8ad334c89e4c4b6539b (plain)
1
2
3
4
5
6
7
8
9
// run-pass
// aux-build:bang-macro.rs

extern crate bang_macro;
use bang_macro::rewrite;

fn main() {
    assert_eq!(rewrite!("Hello, world!"), "NOT Hello, world!");
}