Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
8
tests/ui/macros/conditional-debug-macro-on.rs
Normal file
8
tests/ui/macros/conditional-debug-macro-on.rs
Normal file
|
@ -0,0 +1,8 @@
|
|||
// run-pass
|
||||
pub fn main() {
|
||||
// exits early if println! evaluates its arguments, otherwise it
|
||||
// will hit the panic.
|
||||
println!("{:?}", { if true { return; } });
|
||||
|
||||
panic!();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue