diff options
author | David Robillard <d@drobilla.net> | 2022-10-23 13:41:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-23 14:57:45 -0400 |
commit | 5891e6fb17de98fae6764bdff929bcaa21a1b36c (patch) | |
tree | 681a45e62f375a2569e05c27559fcfae66bc4da9 /test/cpp | |
parent | d8b960be46007f9c09356e526d3c2dcff4b186a5 (diff) | |
download | zix-5891e6fb17de98fae6764bdff929bcaa21a1b36c.tar.gz zix-5891e6fb17de98fae6764bdff929bcaa21a1b36c.tar.bz2 zix-5891e6fb17de98fae6764bdff929bcaa21a1b36c.zip |
Add C++ header build test
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/test_headers_cpp.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/cpp/test_headers_cpp.cpp b/test/cpp/test_headers_cpp.cpp new file mode 100644 index 0000000..0d55be9 --- /dev/null +++ b/test/cpp/test_headers_cpp.cpp @@ -0,0 +1,29 @@ +// Copyright 2022 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#include "zix/allocator.h" // IWYU pragma: keep +#include "zix/attributes.h" // IWYU pragma: keep +#include "zix/bitset.h" // IWYU pragma: keep +#include "zix/btree.h" // IWYU pragma: keep +#include "zix/bump_allocator.h" // IWYU pragma: keep +#include "zix/digest.h" // IWYU pragma: keep +#include "zix/filesystem.h" // IWYU pragma: keep +#include "zix/function_types.h" // IWYU pragma: keep +#include "zix/hash.h" // IWYU pragma: keep +#include "zix/path.h" // IWYU pragma: keep +#include "zix/ring.h" // IWYU pragma: keep +#include "zix/sem.h" // IWYU pragma: keep +#include "zix/status.h" // IWYU pragma: keep +#include "zix/string_view.h" // IWYU pragma: keep +#include "zix/thread.h" // IWYU pragma: keep +#include "zix/tree.h" // IWYU pragma: keep +#include "zix/zix.h" // IWYU pragma: keep + +#if defined(__GNUC__) +__attribute__((const)) +#endif +int +main() +{ + return 0; +} |