mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
12 lines
286 B
Rust
12 lines
286 B
Rust
//@ check-pass
|
|
//@ ignore-cross-compile (needs dylibs and compiletest doesn't have a more specific header)
|
|
//@ aux-crate:force:panic_handler=panic_handler.rs
|
|
//@ compile-flags: -Zunstable-options --crate-type dylib
|
|
//@ edition:2018
|
|
|
|
#![no_std]
|
|
|
|
extern crate panic_handler;
|
|
|
|
fn foo() {}
|