]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/conditional-debug-macro-on.rs
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[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 }