diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-41998.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-41998.rs b/src/test/ui/issues/issue-41998.rs new file mode 100644 index 000000000..7696a3108 --- /dev/null +++ b/src/test/ui/issues/issue-41998.rs @@ -0,0 +1,10 @@ +// check-pass + + +fn main() { + if ('x' as char) < ('y' as char) { + print!("x"); + } else { + print!("y"); + } +} |