diff options
Diffstat (limited to 'test/files/run/t5914.scala')
-rw-r--r-- | test/files/run/t5914.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t5914.scala b/test/files/run/t5914.scala new file mode 100644 index 0000000000..53cae9be74 --- /dev/null +++ b/test/files/run/t5914.scala @@ -0,0 +1,9 @@ +import scala.reflect.runtime.universe._ + +object Test extends App { + val tree: Tree = null + tree match { + case TypeTree() => println("lolwut") + case null => println("correct") + } +}
\ No newline at end of file |