IDEA-128676 (test added)
This commit is contained in:
14
testData/results/TestClassNestedInitializer.dec
Normal file
14
testData/results/TestClassNestedInitializer.dec
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user