aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/entry-bad-signature-3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/entry-bad-signature-3.rs')
-rw-r--r--cortex-m-rt/tests/compile-fail/entry-bad-signature-3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cortex-m-rt/tests/compile-fail/entry-bad-signature-3.rs b/cortex-m-rt/tests/compile-fail/entry-bad-signature-3.rs
index 463e5b7..048b0e6 100644
--- a/cortex-m-rt/tests/compile-fail/entry-bad-signature-3.rs
+++ b/cortex-m-rt/tests/compile-fail/entry-bad-signature-3.rs
@@ -6,8 +6,8 @@ extern crate panic_halt;
use cortex_m_rt::entry;
-#[entry] //~ ERROR custom attribute panicked
-//~^ HELP `#[entry]` function must have signature `[unsafe] fn() -> !`
+#[entry]
extern "C" fn foo() -> ! {
+ //~^ ERROR `#[entry]` function must have signature `[unsafe] fn() -> !`
loop {}
}