aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-06 11:23:56 +0000
committeraclement <aclement>2005-12-06 11:23:56 +0000
commit58f365c7c52c5e367cad18a4819f7aef77404fb6 (patch)
tree76613da643834b73c971179ac2ea07b997cbbbfd /tests/bugs150
parent3c8832b332f94bc05e7db48f414cc4a537407eb1 (diff)
downloadaspectj-58f365c7c52c5e367cad18a4819f7aef77404fb6.tar.gz
aspectj-58f365c7c52c5e367cad18a4819f7aef77404fb6.zip
first part of 117854
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr117854/BrokenSwitch.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs150/pr117854/BrokenSwitch.java b/tests/bugs150/pr117854/BrokenSwitch.java
new file mode 100644
index 000000000..2c3ab0395
--- /dev/null
+++ b/tests/bugs150/pr117854/BrokenSwitch.java
@@ -0,0 +1,14 @@
+public class BrokenSwitch {
+ public static void main(String []argv) {
+ int i = 1;
+ switch (i) {
+ case -845341380: System.err.println("a");break;
+ case 1730110032: System.err.println("a");break;
+ default: System.err.println("c");break;
+ }
+ }
+}
+
+aspect X {
+ before(): execution(* BrokenSwitch.main(..)) {}
+}