diff options
author | Paul Phillips <paulp@improving.org> | 2009-10-22 14:18:15 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-10-22 14:18:15 +0000 |
commit | 1b7e1feee18b1897f831ccd356b1032c09b203fa (patch) | |
tree | 0a8f2a9eb04b9cf89bd9c3db314ea0075f4b1f2b /test/pending/run/bug2087.scala | |
parent | d7504cba9b91f02af98a11ed7dc47c9c1302e90d (diff) | |
download | scala-1b7e1feee18b1897f831ccd356b1032c09b203fa.tar.gz scala-1b7e1feee18b1897f831ccd356b1032c09b203fa.tar.bz2 scala-1b7e1feee18b1897f831ccd356b1032c09b203fa.zip |
A pending test for #2087, and a script test which
is supposed to exercise r19165, except that I discovered that no script
tests have been run since July 2008: r15658 says "remove
script tests for now - they seem to block in certain configurations."
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 |