aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-03-14 16:08:43 +0100
committerGitHub <noreply@github.com>2017-03-14 16:08:43 +0100
commit246e7b7ac5dbf428ffcc737b4107729422280f22 (patch)
tree807c6a6993ecb3593d7c6667f62409a94abe345f /tests
parent1e81b72a65b0db67fd0a64d8ab861c57aeb74c5e (diff)
parent05d974b26394f690a748458f0650729db1998af6 (diff)
downloaddotty-246e7b7ac5dbf428ffcc737b4107729422280f22.tar.gz
dotty-246e7b7ac5dbf428ffcc737b4107729422280f22.tar.bz2
dotty-246e7b7ac5dbf428ffcc737b4107729422280f22.zip
Merge pull request #2097 from dotty-staging/fix-i1706
Fix #1706: add test
Diffstat (limited to 'tests')
-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
+}