summaryrefslogtreecommitdiffstats
path: root/tests/ui/test-attrs/issue-109816.rs
blob: 21fe5bc53b7578b2e0eb521b8b4201d5674c8402 (plain)
1
2
3
4
5
6
7
// compile-flags: --test

fn align_offset_weird_strides() {
    #[test]
    //~^ ERROR the `#[test]` attribute may only be used on a non-associated function
    struct A5(u32, u8);
}