diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t5012.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t5012.scala b/test/files/pos/t5012.scala new file mode 100644 index 0000000000..772b8f4486 --- /dev/null +++ b/test/files/pos/t5012.scala @@ -0,0 +1,12 @@ +class D { + object p // (program point 1) +} + +class C { + def m: D = { + if("abc".length == 0) { + object p // (program point 2) + } + null + } +} |