summaryrefslogtreecommitdiff
path: root/test/files/run/t6646.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6646.scala')
-rw-r--r--test/files/run/t6646.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t6646.scala b/test/files/run/t6646.scala
index 9418bfafb1..150b0df11e 100644
--- a/test/files/run/t6646.scala
+++ b/test/files/run/t6646.scala
@@ -6,8 +6,14 @@ case object lower extends ColumnOption
object Test {
def main(args: Array[String]) {
val l = List(PrimaryKey, NotNull, lower)
+
+ // withFilter must be generated in these
for (option @ NotNull <- l) println("Found " + option)
for (option @ `lower` <- l) println("Found " + option)
for ((`lower`, i) <- l.zipWithIndex) println("Found " + i)
+
+ // no withFilter
+ for (X <- List("A single ident is always a pattern")) println(X)
+ for (`x` <- List("A single ident is always a pattern")) println(`x`)
}
}