rust/tests/ui/artificial-block.rs
2024-02-16 20:02:50 +00:00

6 lines
87 B
Rust

//@ run-pass
fn f() -> isize { { return 3; } }
pub fn main() { assert_eq!(f(), 3); }