mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
10 lines
232 B
Rust
10 lines
232 B
Rust
// 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() { }
|