rust/tests/ui/test-attrs/issue-109816.rs
2024-02-16 20:02:50 +00:00

8 lines
184 B
Rust

//@ 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);
}