rust/tests/ui/extern-flag/force-extern.rs
2024-02-16 20:02:50 +00:00

10 lines
257 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]
fn foo() {}