aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/java/6 codegen/com/mesonbuild/Simple.java
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/java/6 codegen/com/mesonbuild/Simple.java')
-rw-r--r--meson/test cases/java/6 codegen/com/mesonbuild/Simple.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/meson/test cases/java/6 codegen/com/mesonbuild/Simple.java b/meson/test cases/java/6 codegen/com/mesonbuild/Simple.java
new file mode 100644
index 000000000..df3c53df3
--- /dev/null
+++ b/meson/test cases/java/6 codegen/com/mesonbuild/Simple.java
@@ -0,0 +1,12 @@
+package com.mesonbuild;
+
+import com.mesonbuild.Config;
+
+class Simple {
+ public static void main(String [] args) {
+ if (Config.FOOBAR) {
+ TextPrinter t = new TextPrinter("Printing from Java.");
+ t.print();
+ }
+ }
+}