aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/task-double-shared.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/ui/task-double-shared.rs')
-rw-r--r--macros/ui/task-double-shared.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/ui/task-double-shared.rs b/macros/ui/task-double-shared.rs
new file mode 100644
index 00000000..3b4d4115
--- /dev/null
+++ b/macros/ui/task-double-shared.rs
@@ -0,0 +1,7 @@
+#![no_main]
+
+#[rtic_macros::mock_app(device = mock)]
+mod app {
+ #[task(shared = [A], shared = [B])]
+ fn foo(_: foo::Context) {}
+}