mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
11 lines
338 B
Rust
11 lines
338 B
Rust
//@ aux-crate:panic_handler=panic_handler.rs
|
|
//@ ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
|
|
// compile_flags: -Zunstable-options --crate-type dylib
|
|
//@ error-pattern: `#[panic_handler]` function required, but not found
|
|
//@ dont-check-compiler-stderr
|
|
//@ edition: 2018
|
|
|
|
#![no_std]
|
|
|
|
fn foo() {}
|