-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5546836
commit 0d5de08
Showing
4 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"basename": "compilable-field_03-9e555af", | ||
"cmd": "{infile}", | ||
"infile": "tests/field_03/build.sh", | ||
"infile_hash": "7e2ac6a407268835af55c8490e5fbd0e9e5d6c92a2a381cd98bf27e7", | ||
"stdout": "compilable-field_03-9e555af.stdout", | ||
"stdout_hash": "1733c0bacec01fd8daf69013a519c57fe78712b91dd64ea1124f45ca", | ||
"stderr": null, | ||
"stderr_hash": null, | ||
"returncode": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
|
||
public interface C { | ||
public int get__x(); | ||
|
||
public int set__x(int toAssign); | ||
} | ||
|
||
public interface C_Factory { | ||
} | ||
|
||
public class C_v1 implements C { | ||
public int x; | ||
|
||
public int get__x() { | ||
return this.x; | ||
} | ||
|
||
public int set__x(int toAssign) { | ||
return this.x = toAssign; | ||
} | ||
} | ||
|
||
public class C_v1_Factory implements C_Factory { | ||
} | ||
|
||
public interface D { | ||
public float get__x__float(); | ||
|
||
public float set__x(float toAssign); | ||
|
||
public C m(); | ||
} | ||
|
||
public interface D_Factory { | ||
} | ||
|
||
public class D_v1 extends C_v1 implements D { | ||
public float x; | ||
|
||
public C m() { | ||
return (C_v1) this; | ||
} | ||
|
||
public float get__x__float() { | ||
return this.x; | ||
} | ||
|
||
public float set__x(float toAssign) { | ||
return this.x = toAssign; | ||
} | ||
} | ||
|
||
public class D_v1_Factory implements D_Factory { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters