summaryrefslogtreecommitdiff
path: root/test/files/run/unapply.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/unapply.check')
-rw-r--r--test/files/run/unapply.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/unapply.check b/test/files/run/unapply.check
new file mode 100644
index 0000000000..847e3b381e
--- /dev/null
+++ b/test/files/run/unapply.check
@@ -0,0 +1,3 @@
+unapply.scala:57: warning: comparing values of types Null and Null using `==' will always yield true
+ assert(doMatch2(b) == null)
+ ^