diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 11:48:14 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 11:48:14 -0500 |
commit | 51aae63069fb93a9994cae72f8c28cee06f92362 (patch) | |
tree | f708c503a72d2c4bf06856d81cf49286b02b10b7 /bindings/cpp/test/headers/test_headers.cpp | |
parent | 8c8c268bf2166b9049b51cde89a3330462771249 (diff) | |
download | pugl-51aae63069fb93a9994cae72f8c28cee06f92362.tar.gz pugl-51aae63069fb93a9994cae72f8c28cee06f92362.tar.bz2 pugl-51aae63069fb93a9994cae72f8c28cee06f92362.zip |
Add header warning tests
Diffstat (limited to 'bindings/cpp/test/headers/test_headers.cpp')
-rw-r--r-- | bindings/cpp/test/headers/test_headers.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bindings/cpp/test/headers/test_headers.cpp b/bindings/cpp/test/headers/test_headers.cpp new file mode 100644 index 0000000..a28f537 --- /dev/null +++ b/bindings/cpp/test/headers/test_headers.cpp @@ -0,0 +1,20 @@ +// Copyright 2022-2025 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#include <pugl/cairo.hpp> // IWYU pragma: keep +#include <pugl/gl.hpp> // IWYU pragma: keep +#include <pugl/pugl.hpp> // IWYU pragma: keep +#include <pugl/stub.hpp> // IWYU pragma: keep + +#ifdef PUGL_TEST_VULKAN +# include <pugl/vulkan.hpp> // IWYU pragma: keep +#endif + +#ifdef __GNUC__ +__attribute__((const)) +#endif +int +main() +{ + return 0; +} |