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