summaryrefslogtreecommitdiffstats
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-02 00:05:14 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-02 00:05:14 +0000
commitf4cf99d5314b2356f17a82274fd1f18473b7b02b (patch)
tree072d3262833cb4eaa306c1ab447f004dae248e63 /libjava/testsuite/libjava.compile
parent175938bee4a50ca84a0824b4843f2f88ba58b985 (diff)
downloadppe42-gcc-f4cf99d5314b2356f17a82274fd1f18473b7b02b.tar.gz
ppe42-gcc-f4cf99d5314b2356f17a82274fd1f18473b7b02b.zip
* libjava.compile/pr8955.java: New test, for PR java/8955.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60764 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/pr8955.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/pr8955.java b/libjava/testsuite/libjava.compile/pr8955.java
new file mode 100644
index 00000000000..ae78f503f9c
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/pr8955.java
@@ -0,0 +1,13 @@
+public class pr8955
+{
+ static final int val = Integer.MIN_VALUE;
+ void foo()
+ {
+ switch(1) {
+ case val:
+ break;
+ case 1:
+ break;
+ }
+ }
+}
OpenPOWER on IntegriCloud