diff options
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/entry-bad-signature-4.rs')
-rw-r--r-- | cortex-m-rt/tests/compile-fail/entry-bad-signature-4.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cortex-m-rt/tests/compile-fail/entry-bad-signature-4.rs b/cortex-m-rt/tests/compile-fail/entry-bad-signature-4.rs deleted file mode 100644 index 2077f41..0000000 --- a/cortex-m-rt/tests/compile-fail/entry-bad-signature-4.rs +++ /dev/null @@ -1,13 +0,0 @@ -#![no_main] -#![no_std] - -extern crate cortex_m_rt; -extern crate panic_semihosting; - -use cortex_m_rt::entry; - -#[entry] //~ ERROR custom attribute panicked -//~^ HELP `#[entry]` function must have signature `fn() -> !` -extern "C" fn foo() -> ! { - loop {} -} |