rust/tests/ui/proc-macro/invalid-punct-ident-2.rs
2024-02-16 20:02:50 +00:00

10 lines
200 B
Rust

//@ aux-build:invalid-punct-ident.rs
//@ needs-unwind proc macro panics to report errors
#[macro_use]
extern crate invalid_punct_ident;
invalid_ident!(); //~ ERROR proc macro panicked
fn main() {}