diff options
Diffstat (limited to 'test/files/run/t4570.scala')
-rw-r--r-- | test/files/run/t4570.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t4570.scala b/test/files/run/t4570.scala new file mode 100644 index 0000000000..5e1a20c52d --- /dev/null +++ b/test/files/run/t4570.scala @@ -0,0 +1,8 @@ +object Test extends Enumeration { + val foo = Value + def bar = withName("foo") + + def main(args: Array[String]): Unit = { + values foreach println + } +} |