diff options
Diffstat (limited to 'tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs')
-rw-r--r-- | tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs b/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs new file mode 100644 index 000000000..f1b9873c8 --- /dev/null +++ b/tests/run-make-fulldeps/panic-impl-transitive/panic-impl-provider.rs @@ -0,0 +1,9 @@ +#![crate_type = "rlib"] +#![no_std] + +use core::panic::PanicInfo; + +#[panic_handler] +fn panic(info: &PanicInfo) -> ! { + loop {} +} |