summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-26646.rs
blob: 86e4bd7e8f8f07e305c6bcaf6e7332dc27f60280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
#![deny(unused_attributes)]

#[repr(C)]
#[repr(packed)]
pub struct Foo;

#[repr(packed)]
#[repr(C)]
pub struct Bar;

fn main() { }