mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 01:10:36 +00:00
24 lines
483 B
Rust
24 lines
483 B
Rust
// Check that this can be compiled in a reasonable time.
|
|
|
|
//@ build-pass
|
|
|
|
fn main() {
|
|
// 96 nested closures
|
|
let x = ();
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
|| || || || || || || ||
|
|
[&(), &x];
|
|
}
|