diff options
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t7854.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t7854.scala b/test/files/pos/t7854.scala new file mode 100644 index 0000000000..d4de7dfe38 --- /dev/null +++ b/test/files/pos/t7854.scala @@ -0,0 +1,5 @@ +class A { + var f: Int => Unit = _ => () + + f = null +} |