rust/src/test/ui/if-ret.rs
2019-07-27 18:56:16 +03:00

9 lines
126 B
Rust

// run-pass
#![allow(unused_parens)]
// pretty-expanded FIXME #23616
fn foo() { if (return) { } }
pub fn main() { foo(); }