rust/tests/ui/proc-macro/bang-macro.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
171 B
Rust
Raw Normal View History

//@ 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!");
}