diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/contrib_406.check | 2 | ||||
-rw-r--r-- | test/files/pos/contrib_406.scala | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/contrib_406.check b/test/files/pos/contrib_406.check new file mode 100644 index 0000000000..0747cddefb --- /dev/null +++ b/test/files/pos/contrib_406.check @@ -0,0 +1,2 @@ +warning: there were unchecked warnings; re-run with -unchecked for details +one warning found diff --git a/test/files/pos/contrib_406.scala b/test/files/pos/contrib_406.scala new file mode 100644 index 0000000000..d1e746dbeb --- /dev/null +++ b/test/files/pos/contrib_406.scala @@ -0,0 +1,5 @@ +package bug.contrib_406 + +object Test { + val (a: List[Int], b) = (List(1 ,2 ,3 ), 4) +} |