94b46f34 |
1 | // compile-flags:-C panic=abort |
1a4d82fc |
2 | |
94b46f34 XL |
3 | #![no_std] |
4 | #![no_main] |
9e0c209e |
5 | |
94b46f34 |
6 | use core::panic::PanicInfo; |
83c7162d |
7 | |
b7449926 |
8 | #[panic_handler] |
781aab86 FG |
9 | fn panic(info: PanicInfo) -> () {} |
10 | //~^ `#[panic_handler]` function has wrong type [E0308] |