aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t9677.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patmat/t9677.check')
-rw-r--r--tests/patmat/t9677.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/patmat/t9677.check b/tests/patmat/t9677.check
new file mode 100644
index 000000000..f1e1817cb
--- /dev/null
+++ b/tests/patmat/t9677.check
@@ -0,0 +1,4 @@
+./tests/patmat/t9677.scala:20: warning: unreachable code
+ case path: A => println("Not root")
+ ^
+one warning found \ No newline at end of file