mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
14 lines
362 B
Rust
14 lines
362 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() {}
|