<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
ok, semicolon after for
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar() {
  for (int i=2; i<10; i++);
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
ok, semicolon after while
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar() {
  while (i++ < 20);
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
bad, random semicolon
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar() {
  ;
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
bad, double semicolon
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar() {
  int x = 2;;
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
ok, nested class
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar() {
  class Y {};
 }
}
     ]]></code>
    </test-code>
</test-data>
