aboutsummaryrefslogtreecommitdiffstats
path: root/test/cpp/test_build.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/test_build.cpp')
-rw-r--r--test/cpp/test_build.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/cpp/test_build.cpp b/test/cpp/test_build.cpp
new file mode 100644
index 0000000..2419be9
--- /dev/null
+++ b/test/cpp/test_build.cpp
@@ -0,0 +1,16 @@
+// Copyright 2020 David Robillard <d@drobilla.net>
+// SPDX-License-Identifier: ISC
+
+// Tests that C++ headers compile without any warnings
+
+#include <pugl/cairo.hpp> // IWYU pragma: keep
+#include <pugl/gl.hpp> // IWYU pragma: keep
+#include <pugl/pugl.h> // IWYU pragma: keep
+#include <pugl/pugl.hpp> // IWYU pragma: keep
+#include <pugl/stub.hpp> // IWYU pragma: keep
+
+int
+main()
+{
+ return 0;
+}