summaryrefslogtreecommitdiffstats
path: root/test cases/d/2 static library/libstuff.d
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/d/2 static library/libstuff.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/d/2 static library/libstuff.d b/test cases/d/2 static library/libstuff.d
new file mode 100644
index 0000000..fd3b4d0
--- /dev/null
+++ b/test cases/d/2 static library/libstuff.d
@@ -0,0 +1,9 @@
+
+import std.stdio;
+import std.string : format;
+
+int printLibraryString (string str)
+{
+ writeln ("Static Library says: %s".format (str));
+ return 4;
+}