aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pickling/i2166.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pickling/i2166.scala b/tests/pickling/i2166.scala
new file mode 100644
index 000000000..7199b7a36
--- /dev/null
+++ b/tests/pickling/i2166.scala
@@ -0,0 +1,5 @@
+object Test {
+ @inline def f = "" match { case _ => false }
+
+ def main(args: Array[String]): Unit = f
+} \ No newline at end of file