diff options
Diffstat (limited to 'test/files/pos/t8411/Test_2.scala')
-rw-r--r-- | test/files/pos/t8411/Test_2.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t8411/Test_2.scala b/test/files/pos/t8411/Test_2.scala new file mode 100644 index 0000000000..a0ad30f0f5 --- /dev/null +++ b/test/files/pos/t8411/Test_2.scala @@ -0,0 +1,4 @@ +object Test extends App { + val pf = Macros.defaultZeroCase { case 1 => 2 } + assert(pf(2) == 0) +} |