diff options
Diffstat (limited to 'tests/pos/i503.scala')
-rw-r--r-- | tests/pos/i503.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/i503.scala b/tests/pos/i503.scala new file mode 100644 index 000000000..93f275c4d --- /dev/null +++ b/tests/pos/i503.scala @@ -0,0 +1,9 @@ +class HelloWorld { + def main(args: Array[String]): Unit = { + object TypeBool; + + class Fct { + def g(x : Int) = TypeBool // breaks. + } + } +} |