summaryrefslogtreecommitdiff
path: root/test/files/pos/t1001.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1001.scala')
-rwxr-xr-xtest/files/pos/t1001.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t1001.scala b/test/files/pos/t1001.scala
new file mode 100755
index 0000000000..88321e6e8e
--- /dev/null
+++ b/test/files/pos/t1001.scala
@@ -0,0 +1,6 @@
+class Foo;
+
+object Overload{
+ val foo = classOf[Foo].getConstructors()(0)
+ foo.getDeclaringClass
+}