blob: 00902578fc8fdff6c2e4ff828bd64d5ee15b192a [file]
// "Replace with old style 'switch' statement" "true"
import java.util.*;
public class GenerateThrow {
void foo(int i) {
// convert to 'old style' switch
int res;
switch (i) {
case 0:
res = 1;
break;
/*1*/
/*2*/
default:
throw /*3*/new IllegalArgumentException();
}
}
}