]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/conditional-debug-macro-on.rs
Merge commit 'efa8f5521d3813cc897ba29ea0ef98c7aef66bb6' into rustfmt-subtree
[rust.git] / src / test / 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 }