summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.x10
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/example.x10')
-rw-r--r--tests/examplefiles/example.x109
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/examplefiles/example.x10 b/tests/examplefiles/example.x10
new file mode 100644
index 00000000..9cca164c
--- /dev/null
+++ b/tests/examplefiles/example.x10
@@ -0,0 +1,9 @@
+/** Example file for the X10 programming langauge (http://x10-lang.org).
+ */
+class Example {
+
+ public static def main(Rail[String]) {
+ Console.OUT.println("Hello World!"); // say hello.
+ }
+
+}