diff options
author | Martin Odersky <odersky@gmail.com> | 2016-08-24 13:48:26 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-08-26 11:13:17 +0200 |
commit | e1dc0b46a81a507ca040dca05a98f49fd6520d25 (patch) | |
tree | f812e060daaa9a6152b045de4f102e233d08d1c1 /tests/pending | |
parent | b41cff6fa4ccc593916790364424051d9eef200d (diff) | |
download | dotty-e1dc0b46a81a507ca040dca05a98f49fd6520d25.tar.gz dotty-e1dc0b46a81a507ca040dca05a98f49fd6520d25.tar.bz2 dotty-e1dc0b46a81a507ca040dca05a98f49fd6520d25.zip |
Move tests to right directory
Diffstat (limited to 'tests/pending')
-rw-r--r-- | tests/pending/neg/i533/Compat.scala | 7 | ||||
-rw-r--r-- | tests/pending/neg/i533/JA.java | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/pending/neg/i533/Compat.scala b/tests/pending/neg/i533/Compat.scala new file mode 100644 index 000000000..16613cf5b --- /dev/null +++ b/tests/pending/neg/i533/Compat.scala @@ -0,0 +1,7 @@ +object Compat { + def main(args: Array[String]): Unit = { + val x = new Array[Int](1) + x(0) = 10 + println(JA.get(x)) + } +} diff --git a/tests/pending/neg/i533/JA.java b/tests/pending/neg/i533/JA.java new file mode 100644 index 000000000..92421e5b1 --- /dev/null +++ b/tests/pending/neg/i533/JA.java @@ -0,0 +1,5 @@ +class JA { + public static <T> T get(T[] arr) { + return arr[0]; + } +}
\ No newline at end of file |