gcc/libjava/testsuite/libjava.lang/PR8866.java
Mark Mitchell f2d80e7e81 re PR middle-end/8866 (Bug in switch statement code generation -- missing label)
PR middle-end/8866
	* cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
	jumptables.

	PR middle-end/8866
	* libjava.lang/PR8866.java: New test.

From-SVN: r65698
2003-04-16 20:39:12 +00:00

23 lines
428 B
Java

public class PR8866
{
public static void main (String args[])
{
String attTypeString = "";
switch (args.length) {
case 1:
attTypeString = "string";
case 4:
attTypeString = "ID";;
case 5:
attTypeString = "IDREF";;
case 6:
attTypeString = "NMTOKEN";;
case 7:
attTypeString = "NOTATION";;
default:
;
}
}
}