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
848e0a23f3
rust
/
src
/
test
/
ui
/
issues
/
issue-41998.rs
11 lines
132 B
Rust
Raw
Normal View
History
Unescape
Escape
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
// compile-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