diff options
Diffstat (limited to 'test/pending/run/bug2087.scala')
-rw-r--r-- | test/pending/run/bug2087.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/pending/run/bug2087.scala b/test/pending/run/bug2087.scala new file mode 100644 index 0000000000..b3f96fa415 --- /dev/null +++ b/test/pending/run/bug2087.scala @@ -0,0 +1,8 @@ +object Test { + def main(args: Array[String]): Unit = { + val s: Short = 0xFA99.toShort + val c: Char = 0xFA99.toChar + + assert((s == c) == (c == s)) + } +}
\ No newline at end of file |