summaryrefslogtreecommitdiffstats
path: root/tests/ui/repr/repr-align-assign.fixed
blob: 59ca22e9728c6a857c6e676587b9b19bba1200ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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() {}