aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/86 private include/user
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/86 private include/user')
-rw-r--r--meson/test cases/common/86 private include/user/libuser.c6
-rw-r--r--meson/test cases/common/86 private include/user/meson.build5
2 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/86 private include/user/libuser.c b/meson/test cases/common/86 private include/user/libuser.c
new file mode 100644
index 000000000..c1724867b
--- /dev/null
+++ b/meson/test cases/common/86 private include/user/libuser.c
@@ -0,0 +1,6 @@
+#include"foo1.h"
+#include"foo2.h"
+
+int main(void) {
+ return foo1() + foo2();
+}
diff --git a/meson/test cases/common/86 private include/user/meson.build b/meson/test cases/common/86 private include/user/meson.build
new file mode 100644
index 000000000..ab88b1dbd
--- /dev/null
+++ b/meson/test cases/common/86 private include/user/meson.build
@@ -0,0 +1,5 @@
+exe = executable('libuser', 'libuser.c',
+ link_with : stlib,
+ include_directories : st_priv_inc)
+
+test('libuser', exe)