]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/conditional-debug-macro-on.rs
Rollup merge of #107127 - uweigand:s390x-sanitizer, r=Mark-Simulacrum
[rust.git] / tests / ui / macros / conditional-debug-macro-on.rs
1 // run-pass
2 pub fn main() {
3     // exits early if println! evaluates its arguments, otherwise it
4     // will hit the panic.
5     println!("{:?}", { if true { return; } });
6
7     panic!();
8 }