aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/tests/compile-fail/hard-fault-twice.rs')
-rw-r--r--cortex-m-rt/tests/compile-fail/hard-fault-twice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs b/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs
index 03b79a5..af80127 100644
--- a/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs
+++ b/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs
@@ -19,7 +19,7 @@ unsafe fn HardFault(_ef: &ExceptionFrame) -> ! {
pub mod reachable {
use cortex_m_rt::{exception, ExceptionFrame};
- #[exception] //~ ERROR symbol `HardFault` is already defined
+ #[exception] //~ ERROR symbol `_HardFault` is already defined
unsafe fn HardFault(_ef: &ExceptionFrame) -> ! {
loop {}
}