Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
leibnitz27 committed Mar 22, 2020
1 parent c2ed955 commit 6db5dd5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src_6/org/benf/cfr/tests/SwitchExpressionLocalClass3.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package org.benf.cfr.tests;

public class SwitchExpressionLocalClass3 {
void test() {
switch(0) {
case 1:
System.out.println("FOO");
break;
default: {
class Test {
Test(int i) { }
}

new Test(1);
}
};
class Test { }
new Test();
}
}

0 comments on commit 6db5dd5

Please sign in to comment.