diff --git a/src/test/java/targetast/TestComplete.java b/src/test/java/targetast/TestComplete.java index f1271108..d0e07540 100644 --- a/src/test/java/targetast/TestComplete.java +++ b/src/test/java/targetast/TestComplete.java @@ -337,6 +337,12 @@ public class TestComplete { var instance = classFiles.get("SubMatrix").getDeclaredConstructor().newInstance(); } + @Test + public void tph2Test() throws Exception { + var classFiles = generateClassFiles("Tph2.jav", new ByteArrayClassLoader()); + var instance = classFiles.get("Tph2").getDeclaredConstructor().newInstance(); + } + @Test public void tph3Test() throws Exception { var classFiles = generateClassFiles("Tph3.jav", new ByteArrayClassLoader()); diff --git a/src/test/resources/bytecode/javFiles/Tph2.jav b/src/test/resources/bytecode/javFiles/Tph2.jav index 760e4fa7..2f9c53e6 100644 --- a/src/test/resources/bytecode/javFiles/Tph2.jav +++ b/src/test/resources/bytecode/javFiles/Tph2.jav @@ -4,7 +4,7 @@ public class Tph2 { return id.apply(x); } - +/* m(a,b){ var c = m2(a,b); //m2(a,b); @@ -14,4 +14,5 @@ public class Tph2 { m2(a,b){ return b; } +*/ } \ No newline at end of file