diff options
Diffstat (limited to 'vaporize')
-rw-r--r-- | vaporize/tests_easy/ex1.java | 11 | ||||
-rw-r--r-- | vaporize/tests_easy/ex1.vapor | 5 | ||||
-rw-r--r-- | vaporize/tests_easy/ex2.java | 7 | ||||
-rw-r--r-- | vaporize/tests_easy/ex2.vapor | 11 |
4 files changed, 34 insertions, 0 deletions
diff --git a/vaporize/tests_easy/ex1.java b/vaporize/tests_easy/ex1.java new file mode 100644 index 0000000..22f0aa0 --- /dev/null +++ b/vaporize/tests_easy/ex1.java @@ -0,0 +1,11 @@ +class ex1{ + public static void main(String[] a){ + System.out.println(1); + } +} + +class A { + public int foo() { + return 1 ; + } +} diff --git a/vaporize/tests_easy/ex1.vapor b/vaporize/tests_easy/ex1.vapor new file mode 100644 index 0000000..bcfb38c --- /dev/null +++ b/vaporize/tests_easy/ex1.vapor @@ -0,0 +1,5 @@ +const functable_A + :A_foo + +func A_foo(this) + ret
\ No newline at end of file diff --git a/vaporize/tests_easy/ex2.java b/vaporize/tests_easy/ex2.java new file mode 100644 index 0000000..986ca7d --- /dev/null +++ b/vaporize/tests_easy/ex2.java @@ -0,0 +1,7 @@ +class A { + void foo() { } +} + +class B { + void bar() { } +} diff --git a/vaporize/tests_easy/ex2.vapor b/vaporize/tests_easy/ex2.vapor new file mode 100644 index 0000000..25811b3 --- /dev/null +++ b/vaporize/tests_easy/ex2.vapor @@ -0,0 +1,11 @@ +const functable_A + :A_foo + +const functable_B + :B_bar + +func A_foo (this) + ret + +func B_bar(this) + ret
\ No newline at end of file |