aboutsummaryrefslogtreecommitdiff
path: root/test cases/d/5 mixed/app.d
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/d/5 mixed/app.d')
-rw-r--r--test cases/d/5 mixed/app.d8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/d/5 mixed/app.d b/test cases/d/5 mixed/app.d
new file mode 100644
index 0000000..6ab5d97
--- /dev/null
+++ b/test cases/d/5 mixed/app.d
@@ -0,0 +1,8 @@
+
+extern(C) int printLibraryString(const char *str);
+
+void main ()
+{
+ immutable ret = printLibraryString ("C foo");
+ assert (ret == 3);
+}