Debian Codegraph @

gcc/testsuite/rust/compile/macros/proc/private.rs

raw
1 // { dg-additional-options "-frust-crate-type=proc-macro" }
2
3 #[proc_macro]
4 fn my_macro() {} // { dg-error "functions tagged with .#.proc_macro.. must be .pub." }