aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/tests')
-rw-r--r--cortex-m-rt/tests/compile-fail/exception-v8only.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/cortex-m-rt/tests/compile-fail/exception-v8only.rs b/cortex-m-rt/tests/compile-fail/exception-v8only.rs
new file mode 100644
index 0000000..d54f706
--- /dev/null
+++ b/cortex-m-rt/tests/compile-fail/exception-v8only.rs
@@ -0,0 +1,16 @@
+#![no_main]
+#![no_std]
+
+extern crate cortex_m_rt;
+extern crate panic_halt;
+
+use cortex_m_rt::{entry, exception};
+
+#[entry]
+fn foo() -> ! {
+ loop {}
+}
+
+#[exception]
+fn SecureFault() {}
+//~^ ERROR no variant or associated item named `SecureFault`
e-astro-ui'>feat/create-astro-ui Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs/src (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2021-09-06Adds examples pageGravatar aFuzzyBear 23-8/+1257
2021-09-05[ci] yarn formatGravatar jasikpark 1-2/+3
2021-09-05Update `yarn.lock` with @octokit dep updates\n\n `--frozen-lockfile` was comp...Gravatar Caleb Jasik 1-13/+25
2021-09-05docs: set +/- prefix to non-selectable (#1316)Gravatar Sam Chen 1-0/+4
2021-09-05docs: add a link to next article (#1308)Gravatar Sam Chen 2-2/+20
2021-09-05[ci] collect statsGravatar FredKSchott 1-0/+1
2021-09-04📘DOC: Fix URL normalization for the Left Sidebar in docs (#1299)Gravatar Caleb Jasik 2-2/+14
2021-09-04examples: Fix with-tailwindcss example #1256 (#1312)Gravatar kreako 2-1/+1
2021-09-04[ci] collect statsGravatar FredKSchott 2-1/+2
2021-09-03docs: add a period (#1306)Gravatar Sam Chen 1-1/+1