1 // aux-build:proc-macro-panic.rs
6 // FIXME: This should be a normal (stage1, all platforms) test in
7 // src/test/ui/proc-macro once issue #59998 is fixed.
9 // Regression test for issue #76270
10 // Tests that we don't print an ICE message when a panic
11 // occurs in libproc-macro (when `-Z proc-macro-backtrace` is not specified)
13 extern crate proc_macro_panic;
15 proc_macro_panic::panic_in_libproc_macro!(); //~ ERROR proc macro panicked