mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-03 08:44:23 +08:00
* libjava.compile/pr8955.java: New test, for PR java/8955.
From-SVN: r60764
This commit is contained in:
parent
faa75e896f
commit
3c32ae1c35
@ -1,3 +1,7 @@
|
||||
2003-01-01 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* libjava.compile/pr8955.java: New test, for PR java/8955.
|
||||
|
||||
2002-12-19 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* libjava.jacks/jacks.xfail: Updated.
|
||||
|
13
libjava/testsuite/libjava.compile/pr8955.java
Normal file
13
libjava/testsuite/libjava.compile/pr8955.java
Normal file
@ -0,0 +1,13 @@
|
||||
public class pr8955
|
||||
{
|
||||
static final int val = Integer.MIN_VALUE;
|
||||
void foo()
|
||||
{
|
||||
switch(1) {
|
||||
case val:
|
||||
break;
|
||||
case 1:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user