diff options
Diffstat (limited to '')
-rw-r--r-- | tests/coverage-map/if.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/coverage-map/if.rs b/tests/coverage-map/if.rs new file mode 100644 index 000000000..ed3f69bdc --- /dev/null +++ b/tests/coverage-map/if.rs @@ -0,0 +1,9 @@ +// compile-flags: --edition=2021 + +fn main() { + let cond = std::env::args().len() == 1; + if cond { + println!("true"); + } + println!("done"); +} |