We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda8b74 commit 3a887e9Copy full SHA for 3a887e9
cortex-m-rt/tests/compile-fail/whitelist-double-attr.rs
@@ -0,0 +1,13 @@
1
+#![no_main]
2
+#![no_std]
3
+
4
+extern crate cortex_m_rt;
5
+extern crate panic_halt;
6
7
+use cortex_m_rt::{entry, exception};
8
9
+#[exception]
10
+#[entry] //~ ERROR this attribute is not allowed on a function controlled by cortex-m-rt
11
+fn SVCall() -> ! {
12
+ loop {}
13
+}
0 commit comments