diff options
Diffstat (limited to 'tests/ui/extern-flag/force-extern.rs')
-rw-r--r-- | tests/ui/extern-flag/force-extern.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/extern-flag/force-extern.rs b/tests/ui/extern-flag/force-extern.rs new file mode 100644 index 000000000..f56b53782 --- /dev/null +++ b/tests/ui/extern-flag/force-extern.rs @@ -0,0 +1,9 @@ +// 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() {} |