aboutsummaryrefslogtreecommitdiff
path: root/macros/ui/local-shared-attribute.rs
blob: 1ccce4ad1b55d7432255e5a5c0fbe21b301612bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![no_main]

#[rtic_macros::mock_app(device = mock)]
mod app {
    #[task(local = [
        #[test]
        a: u32 = 0, // Ok
        #[test]
        b, // Error
    ])]
    fn foo(_: foo::Context) {

    }
}