diff options
author | Burak Emir <emir@epfl.ch> | 2005-11-23 16:34:58 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2005-11-23 16:34:58 +0000 |
commit | a47b13bd5f8687b6a415dc55257d01a5f1882f6a (patch) | |
tree | 01459a5b318cc541c50bad9162f2cbbfedb6ef29 /test-nsc/files | |
parent | 05228439f3f8c4690a93bb3a29a3ff37ac5ec1c7 (diff) | |
download | scala-a47b13bd5f8687b6a415dc55257d01a5f1882f6a.tar.gz scala-a47b13bd5f8687b6a415dc55257d01a5f1882f6a.tar.bz2 scala-a47b13bd5f8687b6a415dc55257d01a5f1882f6a.zip |
nsc problem with enumeration constructor
Diffstat (limited to 'test-nsc/files')
-rw-r--r-- | test-nsc/files/run/enumerations.check | 1 | ||||
-rw-r--r-- | test-nsc/files/run/enumerations.scala | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test-nsc/files/run/enumerations.check b/test-nsc/files/run/enumerations.check new file mode 100644 index 0000000000..b65db97b5a --- /dev/null +++ b/test-nsc/files/run/enumerations.check @@ -0,0 +1 @@ +RBRACE = } diff --git a/test-nsc/files/run/enumerations.scala b/test-nsc/files/run/enumerations.scala new file mode 100644 index 0000000000..b4bd29d5c3 --- /dev/null +++ b/test-nsc/files/run/enumerations.scala @@ -0,0 +1,7 @@ +/** Enumerations */ +object Test extends Enumeration { + + val RBRACE = Value("}"); + + def main(args:Array[String]): Unit = Console.println("RBRACE = "+RBRACE); +} |