aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/3 cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/windows/3 cpp')
-rw-r--r--meson/test cases/windows/3 cpp/meson.build4
-rw-r--r--meson/test cases/windows/3 cpp/prog.cpp7
2 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/windows/3 cpp/meson.build b/meson/test cases/windows/3 cpp/meson.build
new file mode 100644
index 000000000..7b8080e54
--- /dev/null
+++ b/meson/test cases/windows/3 cpp/meson.build
@@ -0,0 +1,4 @@
+project('wincpp', 'cpp')
+
+exe = executable('prog', 'prog.cpp')
+test('wincpp', exe)
diff --git a/meson/test cases/windows/3 cpp/prog.cpp b/meson/test cases/windows/3 cpp/prog.cpp
new file mode 100644
index 000000000..69092f7b7
--- /dev/null
+++ b/meson/test cases/windows/3 cpp/prog.cpp
@@ -0,0 +1,7 @@
+#include<windows.h>
+
+class Foo;
+
+int main(void) {
+ return 0;
+}