rust/tests/ui/issues/issue-9918.rs

6 lines
73 B
Rust

//@ run-pass
pub fn main() {
assert_eq!((0 + 0u8) as char, '\0');
}