aboutsummaryrefslogtreecommitdiff
path: root/tests/neg
diff options
context:
space:
mode:
authorliu fengyun <liu@fengy.me>2017-03-14 10:50:59 +0100
committerliu fengyun <liu@fengy.me>2017-03-14 10:50:59 +0100
commit05d974b26394f690a748458f0650729db1998af6 (patch)
tree298ad0ea710355c539ad8b116b1bffc86e62711f /tests/neg
parent921f8bffc18b19449b2c1ad68c32725a7b7532e2 (diff)
downloaddotty-05d974b26394f690a748458f0650729db1998af6.tar.gz
dotty-05d974b26394f690a748458f0650729db1998af6.tar.bz2
dotty-05d974b26394f690a748458f0650729db1998af6.zip
add test for #1706
The bug is already fixed in PR #1724 while fixing another issue
Diffstat (limited to 'tests/neg')
-rw-r--r--tests/neg/i1706.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/neg/i1706.scala b/tests/neg/i1706.scala
new file mode 100644
index 000000000..b55ff6e2d
--- /dev/null
+++ b/tests/neg/i1706.scala
@@ -0,0 +1,3 @@
+object Test {
+ println (Object.reflect.runtime.universe.reify (new Object().getClass)) // error: not found Object
+}