summaryrefslogtreecommitdiff
path: root/test/files/pos/bug68.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug68.scala')
-rw-r--r--test/files/pos/bug68.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/bug68.scala b/test/files/pos/bug68.scala
new file mode 100644
index 0000000000..beb2c7c0ab
--- /dev/null
+++ b/test/files/pos/bug68.scala
@@ -0,0 +1,6 @@
+class E {
+ def f() = {
+ val (_::l1) = List(1,2,3);
+ l1.tail;
+ }
+}