This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
7452822843
rust
/
tests
/
ui
/
issues
/
issue-41998.rs
11 lines
130 B
Rust
Raw
Normal View
History
Unescape
Escape
Use check-pass in ui tests where appropriate
2019-11-03 18:00:00 -06:00
// check-pass
Add tests for a few issues.
2017-06-17 15:43:10 -05:00
Removed `#[rustc_error]` from tests that are all `// compile-pass`. I also added `// skip-codegen` to each one, to address potential concerns that this change would otherwise slow down our test suite spending time generating code for files that are really just meant to be checks of compiler diagnostics. (However, I will say: My preference is to not use `// skip-codegen` if one can avoid it. We can use all the testing of how we drive LLVM that we can get...) (Updated post rebase.)
2018-10-31 07:08:01 -05:00
fn
main
(
)
{
Add tests for a few issues.
2017-06-17 15:43:10 -05:00
if
(
'x'
as
char
)
<
(
'y'
as
char
)
{
print!
(
"
x
"
)
;
}
else
{
print!
(
"
y
"
)
;
}
}
Reference in New Issue
Copy Permalink