mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
1bd997a452
Split invalid-compile-flags into run-pass & invalid Update tests/ui/README.md
6 lines
134 B
Rust
6 lines
134 B
Rust
//! regression test for https://github.com/rust-lang/rust/issues/24779
|
|
//@ run-pass
|
|
fn main() {
|
|
assert_eq!((|| || 42)()(), 42);
|
|
}
|