diff options
Diffstat (limited to 'test/neg/bug128_129.check')
-rw-r--r-- | test/neg/bug128_129.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/neg/bug128_129.check b/test/neg/bug128_129.check new file mode 100644 index 0000000000..d410b57095 --- /dev/null +++ b/test/neg/bug128_129.check @@ -0,0 +1,7 @@ +bug128_129.scala:3: variable not allowed under alternative + val x | 1 = 2; // not allowed + ^ +bug128_129.scala:10: recursive patterns not allowed + case PT(a@PT(a)) => // not allowed + ^ +two errors found |