summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern-flag/no-force-extern.rs
blob: ce9cbfe1cd27a95827fae7901dd313d5987569b7 (plain)
1
2
3
4
5
6
7
8
9
10
// 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() {}