diff options
author | liu fengyun <liu@fengy.me> | 2017-03-14 10:50:59 +0100 |
---|---|---|
committer | liu fengyun <liu@fengy.me> | 2017-03-14 10:50:59 +0100 |
commit | 05d974b26394f690a748458f0650729db1998af6 (patch) | |
tree | 298ad0ea710355c539ad8b116b1bffc86e62711f | |
parent | 921f8bffc18b19449b2c1ad68c32725a7b7532e2 (diff) | |
download | dotty-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
-rw-r--r-- | tests/neg/i1706.scala | 3 |
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 +} |