2020-06-17 11:05:30 -07:00
|
|
|
// normalize-stderr-test "loaded from .*libstd-.*.rlib" -> "loaded from SYSROOT/libstd-*.rlib"
|
2020-01-10 14:36:22 +00:00
|
|
|
// error-pattern: found duplicate lang item `panic_impl`
|
2018-05-29 12:33:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
use std::panic::PanicInfo;
|
|
|
|
|
2018-08-23 00:40:32 +02:00
|
|
|
#[panic_handler]
|
2018-05-29 12:33:11 +02:00
|
|
|
fn panic(info: PanicInfo) -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|