diff options
Diffstat (limited to 'test/pretty/resource/before/Switch11.java')
-rw-r--r-- | test/pretty/resource/before/Switch11.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/pretty/resource/before/Switch11.java b/test/pretty/resource/before/Switch11.java new file mode 100644 index 00000000..556631f0 --- /dev/null +++ b/test/pretty/resource/before/Switch11.java @@ -0,0 +1,12 @@ +// version :11 +public class Switch11 { + public void basic() { + switch (5) { + case 1: + case 2: + System.out.println("OK"); + break; + default: + } + } +} |