aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2019-02-23 21:54:56 +0100
committerJorge Aparicio <jorge@japaric.io>2019-02-26 23:22:34 +0100
commit72f0cc505addf00d493b764418e4207f53434152 (patch)
tree026485497068c83921161752c1f9d62f2a583a8a /tests
parentc749979c458472c8e7e719b17a6d6906c7ddf3e0 (diff)
make cfail test actually fail
Diffstat (limited to 'tests')
-rw-r--r--tests/cfail/used-free-interrupt-2.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cfail/used-free-interrupt-2.rs b/tests/cfail/used-free-interrupt-2.rs
index f9aab78..616d308 100644
--- a/tests/cfail/used-free-interrupt-2.rs
+++ b/tests/cfail/used-free-interrupt-2.rs
@@ -12,8 +12,8 @@ const APP: () = {
#[init]
fn init() {}
- #[interrupt(binds = UART0)]
- fn foo() {} //~ ERROR free interrupts (`extern { .. }`) can't be used as interrupt handlers
+ #[interrupt(binds = UART0)] //~ ERROR free interrupts (`extern { .. }`) can't be used as interrupt handlers
+ fn foo() {}
extern "C" {
fn UART0();