diff options
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs b/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs deleted file mode 100644 index 8b1011d..0000000 --- a/cortex-m-rt/tests/compile-fail/exception-bad-signature-2.rs +++ /dev/null @@ -1,16 +0,0 @@ -#![no_main] -#![no_std] - -extern crate cortex_m_rt; -extern crate panic_semihosting; - -use cortex_m_rt::{entry, exception}; - -#[entry] -fn foo() -> ! { - loop {} -} - -#[exception] //~ ERROR custom attribute panicked -//~^ HELP `#[exception]` functions other than `DefaultHandler` and `HardFault` must have signature `fn()` -unsafe fn SysTick() {} |