aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/pos/t1237.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-05-27 10:25:05 +0200
committerMartin Odersky <odersky@gmail.com>2015-05-27 10:30:55 +0200
commit20f6e9d9efb6ece9a8844cfe011ac1cc663c378e (patch)
treeb2203097deca9177a7b0527007058ec431c39007 /tests/disabled/pos/t1237.scala
parent26788d4caef75fdbe5ed81d50723d36afc21d2ee (diff)
downloaddotty-20f6e9d9efb6ece9a8844cfe011ac1cc663c378e.tar.gz
dotty-20f6e9d9efb6ece9a8844cfe011ac1cc663c378e.tar.bz2
dotty-20f6e9d9efb6ece9a8844cfe011ac1cc663c378e.zip
Categorize disabled tests into pos/run
Diffstat (limited to 'tests/disabled/pos/t1237.scala')
-rw-r--r--tests/disabled/pos/t1237.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/disabled/pos/t1237.scala b/tests/disabled/pos/t1237.scala
new file mode 100644
index 000000000..31ba2966a
--- /dev/null
+++ b/tests/disabled/pos/t1237.scala
@@ -0,0 +1,14 @@
+class HelloWorld {
+ def main(args: Array[String]): Unit = {
+
+ object TypeBool;
+
+ trait Fct {
+ def g(x : Int) = TypeBool // breaks.
+
+ // def g(x : Int) = 3 // fine.
+ }
+
+ ()
+ }
+}