summaryrefslogtreecommitdiff
path: root/test/files/run/constrained-types.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/constrained-types.scala')
-rw-r--r--test/files/run/constrained-types.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/constrained-types.scala b/test/files/run/constrained-types.scala
index 56fbd749c0..59fd0b1b8c 100644
--- a/test/files/run/constrained-types.scala
+++ b/test/files/run/constrained-types.scala
@@ -90,6 +90,8 @@ object Test {
settings.Xexperimental.value = true
settings.selfInAnnots.value = true
settings.deprecation.value = true
+ // when running that compiler, give it a scala-library to the classpath
+ settings.classpath.value = System.getProperty("java.class.path")
val interp = new Interpreter(settings)