From a47b13bd5f8687b6a415dc55257d01a5f1882f6a Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Wed, 23 Nov 2005 16:34:58 +0000 Subject: nsc problem with enumeration constructor --- test-nsc/files/run/enumerations.check | 1 + test-nsc/files/run/enumerations.scala | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 test-nsc/files/run/enumerations.check create mode 100644 test-nsc/files/run/enumerations.scala 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); +} -- cgit v1.2.3