summaryrefslogtreecommitdiff
path: root/tests/cpp-compile-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpp-compile-test.cpp')
-rw-r--r--tests/cpp-compile-test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cpp-compile-test.cpp b/tests/cpp-compile-test.cpp
new file mode 100644
index 0000000..1e84e63
--- /dev/null
+++ b/tests/cpp-compile-test.cpp
@@ -0,0 +1,5 @@
+/* This source should compile fine with C++ compiler */
+#include "wayland-server-protocol.h"
+
+int main() { return 0; }
+