Add a new dalvik run-test test to art.
Original: https://android-review.googlesource.com/32551
Change-Id: I0503818af15f427c6419a7a7a49689b3c2596ede
diff --git a/test/095-switch-MAX_INT/expected.txt b/test/095-switch-MAX_INT/expected.txt
new file mode 100644
index 0000000..12799cc
--- /dev/null
+++ b/test/095-switch-MAX_INT/expected.txt
@@ -0,0 +1 @@
+good
diff --git a/test/095-switch-MAX_INT/info.txt b/test/095-switch-MAX_INT/info.txt
new file mode 100644
index 0000000..bb901db
--- /dev/null
+++ b/test/095-switch-MAX_INT/info.txt
@@ -0,0 +1 @@
+Bug: http://code.google.com/p/android/issues/detail?id=22344
diff --git a/test/095-switch-MAX_INT/src/Main.java b/test/095-switch-MAX_INT/src/Main.java
new file mode 100644
index 0000000..d1171ea
--- /dev/null
+++ b/test/095-switch-MAX_INT/src/Main.java
@@ -0,0 +1,11 @@
+public class Main {
+ static public void main(String[] args) throws Exception {
+ switch (0x7fffffff) {
+ case 0x7fffffff:
+ System.err.println("good");
+ break;
+ default:
+ throw new AssertionError();
+ }
+ }
+}