rust/tests/ui/extern-flag/redundant-force-extern.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
286 B
Rust
Raw Normal View History

2023-03-13 22:55:43 -05:00
//@ 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() {}