mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
13 lines
262 B
Rust
13 lines
262 B
Rust
//@ normalize-stderr-test "loaded from .*libstd-.*.rlib" -> "loaded from SYSROOT/libstd-*.rlib"
|
|
//@ error-pattern: found duplicate lang item `panic_impl`
|
|
|
|
|
|
use std::panic::PanicInfo;
|
|
|
|
#[panic_handler]
|
|
fn panic(info: PanicInfo) -> ! {
|
|
loop {}
|
|
}
|
|
|
|
fn main() {}
|