summaryrefslogtreecommitdiffstats
path: root/tests/ui/layout/issue-113941.rs
blob: 7a54e28b35034762a8a831d8fb8f8a4819464014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// build-pass
// revisions: normal randomize-layout
// [randomize-layout]compile-flags: -Zrandomize-layout

enum Void {}

pub struct Struct([*const (); 0], Void);

pub enum Enum {
    Variant(Struct),
}

fn main() {}