about summary refs log tree commit diff
path: root/tests/ui/issues/issue-26646.rs
blob: b1789b1a91fc28d81b5179b6c01253a79ceed445 (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() { }