From 3c32ae1c35f838a0d4ef571656b5427ade5c861d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 2 Jan 2003 00:05:14 +0000 Subject: * libjava.compile/pr8955.java: New test, for PR java/8955. From-SVN: r60764 --- libjava/testsuite/libjava.compile/pr8955.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/pr8955.java (limited to 'libjava/testsuite/libjava.compile') diff --git a/libjava/testsuite/libjava.compile/pr8955.java b/libjava/testsuite/libjava.compile/pr8955.java new file mode 100644 index 0000000..ae78f50 --- /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; + } + } +} -- cgit v1.1