aboutsummaryrefslogtreecommitdiff
path: root/test cases/d/8 has multi arguments
diff options
context:
space:
mode:
authorMike Wey <mike@mikewey.eu>2017-05-20 13:34:10 +0200
committerMike Wey <mike@mikewey.eu>2017-05-20 15:30:38 +0200
commit19da02a5d8b5c1a65a29bad511e27304374808ba (patch)
treec87ff4fb01b2e9c6875b792e6d18c78a061a34df /test cases/d/8 has multi arguments
parente985d930afc98cd912c49f25661824db7289ca46 (diff)
downloadmeson-19da02a5d8b5c1a65a29bad511e27304374808ba.zip
meson-19da02a5d8b5c1a65a29bad511e27304374808ba.tar.gz
meson-19da02a5d8b5c1a65a29bad511e27304374808ba.tar.bz2
Add 'compiles' and 'has_multi_arguments' for dlang.
Diffstat (limited to 'test cases/d/8 has multi arguments')
-rw-r--r--test cases/d/8 has multi arguments/installed_files.txt0
-rw-r--r--test cases/d/8 has multi arguments/meson.build6
2 files changed, 6 insertions, 0 deletions
diff --git a/test cases/d/8 has multi arguments/installed_files.txt b/test cases/d/8 has multi arguments/installed_files.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/d/8 has multi arguments/installed_files.txt
diff --git a/test cases/d/8 has multi arguments/meson.build b/test cases/d/8 has multi arguments/meson.build
new file mode 100644
index 0000000..2153cfd
--- /dev/null
+++ b/test cases/d/8 has multi arguments/meson.build
@@ -0,0 +1,6 @@
+project('D has arguments test', 'd')
+
+compiler = meson.get_compiler('d')
+
+compiler.compiles('int i;')
+compiler.has_argument('-I.')