summary refs log tree commit diff
path: root/src/test/ui/repr/repr-align-assign.fixed
blob: 2e1d9a2d32691e33a339ec91fc5cc2aabc23d31b (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-rustfix

#![allow(dead_code)]

#[repr(align(8))] //~ ERROR incorrect `repr(align)` attribute format
struct A(u64);

#[repr(align(8))] //~ ERROR incorrect `repr(align)` attribute format
struct B(u64);

fn main() {}