diff options
Diffstat (limited to 'tests/pending/pos/t5012.scala')
-rw-r--r-- | tests/pending/pos/t5012.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/pending/pos/t5012.scala b/tests/pending/pos/t5012.scala new file mode 100644 index 000000000..772b8f448 --- /dev/null +++ b/tests/pending/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 + } +} |