summaryrefslogtreecommitdiff
path: root/test/files/pos/t2764/Enum.java
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-05-11 10:25:34 -0700
committerPaul Phillips <paulp@improving.org>2012-05-11 10:26:29 -0700
commit807567230852bcadb98a91322bd348aae764801f (patch)
treee7efba8909d8c50b76a343192e6a0eb277c61527 /test/files/pos/t2764/Enum.java
parent2422b064e7a52c04dfb2239fc8e7b9ffbab24251 (diff)
downloadscala-807567230852bcadb98a91322bd348aae764801f.tar.gz
scala-807567230852bcadb98a91322bd348aae764801f.tar.bz2
scala-807567230852bcadb98a91322bd348aae764801f.zip
Recognize java enums as constants from source.
Fixed up one of the mismatches between how java source is modeled and how java bytecode is modeled. We should get the rest of them too. Closes SI-2764.
Diffstat (limited to 'test/files/pos/t2764/Enum.java')
-rw-r--r--test/files/pos/t2764/Enum.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t2764/Enum.java b/test/files/pos/t2764/Enum.java
new file mode 100644
index 0000000000..fe07559535
--- /dev/null
+++ b/test/files/pos/t2764/Enum.java
@@ -0,0 +1,5 @@
+package bippy;
+
+public enum Enum {
+ VALUE;
+}