aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/neg/autoTuplingTest.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/neg/autoTuplingTest.scala b/tests/neg/autoTuplingTest.scala
index 62f10b3ea..92126ab5d 100644
--- a/tests/neg/autoTuplingTest.scala
+++ b/tests/neg/autoTuplingTest.scala
@@ -1,3 +1,5 @@
+import language.noAutoTupling
+
object autoTuplingNeg2 {
val x = Some(1, 2) // error: too many arguments for method apply: (x: A)Some[A]