summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-32326.rs
blob: e928c66e2cc7ed2b60645cec18755be421048c49 (plain)
1
2
3
4
5
6
7
8
9
10
// Regression test for #32326. We ran out of memory because we
// attempted to expand this case up to the recursion limit, and 2^N is
// too big.

enum Expr { //~ ERROR E0072
    Plus(Expr, Expr),
    Literal(i64),
}

fn main() { }