Verified Commit c0334500 authored by ubduq's avatar ubduq

Add use before declare test case for the type of a field declaration

parent bc67e94b
class UseBeforeDeclareFieldType {
public static void main(String[] args) {}
public TestType a;
}
class TestType {}
class UseBeforeDeclareField {
class UseBeforeDeclareFieldValue {
public static void main(String[] args) {
UseBeforeDeclareField x = new UseBeforeDeclareField();
UseBeforeDeclareFieldValue x = new UseBeforeDeclareFieldValue();
x.test();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment