diff options
author | Elliott Hughes <enh@google.com> | 2012-02-10 16:11:54 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-02-10 16:12:44 -0800 |
commit | 5b1f162d9cbec1c6b2863bd220bdaecdcb18b139 (patch) | |
tree | 16c67376ecbb5e19d5f40992143ce79bd272e79d /test/095-switch-MAX_INT/src | |
parent | 44b412bb795fa6999129b2bc16f5eec1ea97e8f8 (diff) | |
download | art-5b1f162d9cbec1c6b2863bd220bdaecdcb18b139.zip art-5b1f162d9cbec1c6b2863bd220bdaecdcb18b139.tar.gz art-5b1f162d9cbec1c6b2863bd220bdaecdcb18b139.tar.bz2 |
Add a new dalvik run-test test to art.
Original: https://android-review.googlesource.com/32551
Change-Id: I0503818af15f427c6419a7a7a49689b3c2596ede
Diffstat (limited to 'test/095-switch-MAX_INT/src')
-rw-r--r-- | test/095-switch-MAX_INT/src/Main.java | 11 |
1 files changed, 11 insertions, 0 deletions
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(); + } + } +} |