aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/157 dotinclude/dotproc.c
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-07-31 11:35:25 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2017-08-04 20:23:22 +0300
commitef2257bb4e9a6eb83301907d9fdf01d810dc925c (patch)
tree28fa87ab09aee6c8d0209fe2a51da835977b8639 /test cases/common/157 dotinclude/dotproc.c
parent7f307fd5ef3547152c7d48fd362dd511dd94b9d3 (diff)
downloadmeson-dotinclude.zip
meson-dotinclude.tar.gz
meson-dotinclude.tar.bz2
Add option to disable implicit include directories. Closes #2139.dotinclude
Diffstat (limited to 'test cases/common/157 dotinclude/dotproc.c')
-rw-r--r--test cases/common/157 dotinclude/dotproc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test cases/common/157 dotinclude/dotproc.c b/test cases/common/157 dotinclude/dotproc.c
new file mode 100644
index 0000000..5e65f7b
--- /dev/null
+++ b/test cases/common/157 dotinclude/dotproc.c
@@ -0,0 +1,10 @@
+#include"stdio.h"
+
+#ifndef WRAPPER_INCLUDED
+#error The wrapper stdio.h was not included.
+#endif
+
+int main(int argc, char **argv) {
+ printf("Eventually I got printed.\n");
+ return 0;
+}