summaryrefslogtreecommitdiff
path: root/test/files/neg/t4581/static_2.java
diff options
context:
space:
mode:
authorAleksandar Prokopec <axel22@gmail.com>2012-08-27 16:03:59 +0200
committerAleksandar Prokopec <axel22@gmail.com>2012-08-27 17:15:39 +0200
commit373f22a2022519ab894c1ea77460e6460d7c2ee4 (patch)
tree54a77d2414cfa80b6a3e878acb06b1b6526887f5 /test/files/neg/t4581/static_2.java
parent5bdfddefd7ff13476185b67d869a92c6c9f94506 (diff)
downloadscala-373f22a2022519ab894c1ea77460e6460d7c2ee4.tar.gz
scala-373f22a2022519ab894c1ea77460e6460d7c2ee4.tar.bz2
scala-373f22a2022519ab894c1ea77460e6460d7c2ee4.zip
Fix SI-4581.
Specifically, the final flag on the generated static field is no longer ommitted. Fix 2 failing test-cases.
Diffstat (limited to 'test/files/neg/t4581/static_2.java')
-rw-r--r--test/files/neg/t4581/static_2.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/neg/t4581/static_2.java b/test/files/neg/t4581/static_2.java
new file mode 100644
index 0000000000..2fd5bf1d82
--- /dev/null
+++ b/test/files/neg/t4581/static_2.java
@@ -0,0 +1,15 @@
+
+
+
+
+public class static_2 {
+ public static void main(String[] args) {
+ Constants.Const = 17;
+ Constants.FinalConst = 99;
+ Constants.MutableField = 199;
+ }
+}
+
+
+
+