aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests/compile-fail/hard-fault-twice.rs
diff options
context:
space:
mode:
authorGravatar Dion Dokter <diondokter@gmail.com> 2023-07-21 14:16:46 +0200
committerGravatar Dion Dokter <diondokter@gmail.com> 2023-07-21 14:16:46 +0200
commitf07d5b3241cb2e70c37d049caab64d75ef32860b (patch)
tree68fe2b1d247f6adfcb29391f7cf4c083c4f19101 /cortex-m-rt/tests/compile-fail/hard-fault-twice.rs
parent3bd46e56e4e4c138cb51900f47280cc991f51702 (diff)
downloadcortex-m-f07d5b3241cb2e70c37d049caab64d75ef32860b.tar.gz
cortex-m-f07d5b3241cb2e70c37d049caab64d75ef32860b.tar.zst
cortex-m-f07d5b3241cb2e70c37d049caab64d75ef32860b.zip
Changed setup for better compiler diagnostics. We won't get a nasty assembly error anymore
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 {}
}