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 /test/headers/test_headers.c | |
parent | 8c8c268bf2166b9049b51cde89a3330462771249 (diff) | |
download | pugl-51aae63069fb93a9994cae72f8c28cee06f92362.tar.gz pugl-51aae63069fb93a9994cae72f8c28cee06f92362.tar.bz2 pugl-51aae63069fb93a9994cae72f8c28cee06f92362.zip |
Add header warning tests
Diffstat (limited to 'test/headers/test_headers.c')
-rw-r--r-- | test/headers/test_headers.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c new file mode 100644 index 0000000..2e109f2 --- /dev/null +++ b/test/headers/test_headers.c @@ -0,0 +1,22 @@ +// Copyright 2022-2025 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#include <pugl/attributes.h> // IWYU pragma: keep +#include <pugl/cairo.h> // IWYU pragma: keep +#include <pugl/gl.h> // IWYU pragma: keep +#include <pugl/glu.h> // IWYU pragma: keep +#include <pugl/pugl.h> // IWYU pragma: keep +#include <pugl/stub.h> // IWYU pragma: keep + +#ifdef PUGL_TEST_VULKAN +# include <pugl/vulkan.h> // IWYU pragma: keep +#endif + +#ifdef __GNUC__ +__attribute__((const)) +#endif +int +main(void) +{ + return 0; +} |