summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-22933-2.rs
blob: dfd84b9a79d404e701c79d068ddfb13c8efbbf9b (plain)
1
2
3
4
5
6
7
8
enum Delicious {
    Pie      = 0x1,
    Apple    = 0x2,
    ApplePie = Delicious::Apple as isize | Delicious::PIE as isize,
    //~^ ERROR no variant or associated item named `PIE` found
}

fn main() {}