blob: bd25597d6d754ec00ffab0b666b71fe2491a8b8e [file] [log] [blame] [edit]
// https://github.com/rust-lang/rust/issues/64430
//@ compile-flags:-C panic=abort
#![no_std]
pub struct Foo;
fn main() {
Foo.bar()
//~^ ERROR E0599
}
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
loop{}
}