aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/swift/5 mixed/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/swift/5 mixed/meson.build')
-rw-r--r--meson/test cases/swift/5 mixed/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/swift/5 mixed/meson.build b/meson/test cases/swift/5 mixed/meson.build
new file mode 100644
index 000000000..71cb99d52
--- /dev/null
+++ b/meson/test cases/swift/5 mixed/meson.build
@@ -0,0 +1,6 @@
+project('mixed', 'c', 'swift')
+
+lib = static_library('mylib', 'mylib.c')
+exe = executable('prog', 'main.swift', 'mylib.h',
+ link_with : lib)
+test('c interface', exe)