aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t4426.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t4426.scala')
-rw-r--r--tests/pending/run/t4426.scala24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/pending/run/t4426.scala b/tests/pending/run/t4426.scala
new file mode 100644
index 000000000..1cbd42da2
--- /dev/null
+++ b/tests/pending/run/t4426.scala
@@ -0,0 +1,24 @@
+import scala.tools.nsc._
+
+object Test {
+ val x = {
+ val settings = new Settings()
+ settings.classpath.value = System.getProperty("java.class.path")
+
+ object cc extends Global(settings) {
+ object dummy
+
+ override def computePluginPhases() = {
+ super.computePluginPhases()
+ assert(dummy ne null, "Dummy not initialized")
+ }
+ }
+ new cc.Run
+ ()
+ }
+
+ def main(args: Array[String]): Unit = {
+
+ }
+}
+