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