IDEA-128676 (test added)

This commit is contained in:
Roman Shevchenko
2014-09-11 16:18:02 +04:00
parent ccd7b93497
commit 95cd67883e
5 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package pkg;
public class TestClassNestedInitializer {
public String secret;
public void test() {
TestClassNestedInitializer var1 = new TestClassNestedInitializer() {
{
this.secret = "one";
}
};
System.out.println(var1.secret);
}
}