aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/d/1 simple/utils.d
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/d/1 simple/utils.d')
-rw-r--r--meson/test cases/d/1 simple/utils.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/meson/test cases/d/1 simple/utils.d b/meson/test cases/d/1 simple/utils.d
new file mode 100644
index 000000000..8645548c5
--- /dev/null
+++ b/meson/test cases/d/1 simple/utils.d
@@ -0,0 +1,8 @@
+
+import std.stdio;
+import std.string : format;
+
+void printGreeting (string name)
+{
+ writeln ("Hello, I am %s.".format (name));
+}