tests: Move run-pass tests without naming conflicts to ui
This commit is contained in:
parent
ca9faa52f5
commit
9be35f82c1
3226 changed files with 64 additions and 196 deletions
8
src/test/ui/macros/conditional-debug-macro-on.rs
Normal file
8
src/test/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