aboutsummaryrefslogtreecommitdiffstats
path: root/test/headers/test_headers.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-23 21:48:38 -0400
committerDavid Robillard <d@drobilla.net>2022-10-23 21:48:38 -0400
commit2c1e022ebbb2619b6e497a360480294bb950e20e (patch)
tree9dc84b0da6088d5bc49b714aad600d78f0a16084 /test/headers/test_headers.c
parent94e66b9793932483b5b0f5f67a16c4c16bd4665c (diff)
downloadserd-2c1e022ebbb2619b6e497a360480294bb950e20e.tar.gz
serd-2c1e022ebbb2619b6e497a360480294bb950e20e.tar.bz2
serd-2c1e022ebbb2619b6e497a360480294bb950e20e.zip
Test header for warnings more strictly
Diffstat (limited to 'test/headers/test_headers.c')
-rw-r--r--test/headers/test_headers.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c
new file mode 100644
index 00000000..c855c103
--- /dev/null
+++ b/test/headers/test_headers.c
@@ -0,0 +1,11 @@
+// Copyright 2022 David Robillard <d@drobilla.net>
+// SPDX-License-Identifier: ISC
+
+#include "serd/serd.h" // IWYU pragma: keep
+
+SERD_CONST_FUNC
+int
+main(void)
+{
+ return 0;
+}