summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/PR8866.java
blob: fa620667445582f10dc72e908d95030eb89824b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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:
          ;
      }
    }
}