rust/tests/ui/artificial-block.rs

6 lines
87 B
Rust

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