summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-05-19 06:56:51 -0700
committerPaul Phillips <paulp@improving.org>2013-05-19 06:56:51 -0700
commit16e92f48e7b075d8addf037953b5696a497258c6 (patch)
tree237347c0d9da18a4d9e151a9928453b2d347c613 /test
parent01dec25425cefb6acc147d8341893eb70ca76245 (diff)
parent3fb317560c7e1220cd51c7f8408cf3db6a84b290 (diff)
downloadscala-16e92f48e7b075d8addf037953b5696a497258c6.tar.gz
scala-16e92f48e7b075d8addf037953b5696a497258c6.tar.bz2
scala-16e92f48e7b075d8addf037953b5696a497258c6.zip
Merge pull request #2565 from paulp/issue/7427
SI-7427 stop crashing under -Ydebug.
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/t7427.flags1
-rw-r--r--test/files/pos/t7427.scala4
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t7427.flags b/test/files/pos/t7427.flags
new file mode 100644
index 0000000000..9c7d6400fc
--- /dev/null
+++ b/test/files/pos/t7427.flags
@@ -0,0 +1 @@
+-Ydebug
diff --git a/test/files/pos/t7427.scala b/test/files/pos/t7427.scala
new file mode 100644
index 0000000000..cca52950d1
--- /dev/null
+++ b/test/files/pos/t7427.scala
@@ -0,0 +1,4 @@
+// Compiles with no options
+// Compiles with -Ydebug -Ydisable-unreachable-prevention
+// Crashes with -Ydebug
+trait Bippy { 3 match { case 3 => } }