summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-73112.rs
blob: cc7be9c95aef6be2dc3012562bd7d2264f5e4854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// aux-build:issue-73112.rs

extern crate issue_73112;

fn main() {
    use issue_73112::PageTable;

    #[repr(C, packed)]
    struct SomeStruct {
    //~^ ERROR packed type cannot transitively contain a `#[repr(align)]` type [E0588]
        page_table: PageTable,
    }
}