]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-32326.rs
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-32326.rs
1 // Regression test for #32326. We ran out of memory because we
2 // attempted to expand this case up to the recursion limit, and 2^N is
3 // too big.
4
5 enum Expr { //~ ERROR E0072
6     Plus(Expr, Expr),
7     Literal(i64),
8 }
9
10 fn main() { }