rust/tests/ui/repr/repr-align-assign.fixed
2023-01-11 09:32:08 +00:00

14 lines
361 B
Rust

// run-rustfix
#![allow(dead_code)]
#[repr(align(8))] //~ ERROR incorrect `repr(align)` attribute format
//~| ERROR incorrect `repr(align)` attribute format
struct A(u64);
#[repr(align(8))] //~ ERROR incorrect `repr(align)` attribute format
//~| ERROR incorrect `repr(align)` attribute format
struct B(u64);
fn main() {}