diff --git a/test/bytecode/Id.jav b/test/bytecode/Id.jav new file mode 100644 index 000000000..ceebc1f77 --- /dev/null +++ b/test/bytecode/Id.jav @@ -0,0 +1,5 @@ +class Id{ + +Fun1 method() { return (x)-> x; } + +} \ No newline at end of file diff --git a/test/bytecode/IdTest.java b/test/bytecode/IdTest.java new file mode 100644 index 000000000..f303e5d06 --- /dev/null +++ b/test/bytecode/IdTest.java @@ -0,0 +1,14 @@ +package bytecode; + +import org.junit.Test; + +public class IdTest { + public final static String rootDirectory = System.getProperty("user.dir")+"/test/bytecode/"; + public final static String testFile = "Id.jav"; + public final static String outputFile = "Id.class"; + + @Test + public void test() { + SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile); + } +}