summaryrefslogtreecommitdiffstats
path: root/tests/ui/repr/repr.rs
blob: 564d6732601024661009d2de0e6eea59ddebef02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[repr] //~ ERROR malformed `repr` attribute
struct _A {}

#[repr = "B"] //~ ERROR malformed `repr` attribute
struct _B {}

#[repr = "C"] //~ ERROR malformed `repr` attribute
struct _C {}

#[repr(C)]
struct _D {}

fn main() {}