summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/has/compound-literal-storage.c6
-rw-r--r--build/header.mk1
2 files changed, 7 insertions, 0 deletions
diff --git a/build/has/compound-literal-storage.c b/build/has/compound-literal-storage.c
new file mode 100644
index 0000000..e2281e1
--- /dev/null
+++ b/build/has/compound-literal-storage.c
@@ -0,0 +1,6 @@
+// Copyright © Tavian Barnes <tavianator@tavianator.com>
+// SPDX-License-Identifier: 0BSD
+
+int main(void) {
+ return (static int){0};
+}
diff --git a/build/header.mk b/build/header.mk
index 8b697d6..919a2a2 100644
--- a/build/header.mk
+++ b/build/header.mk
@@ -19,6 +19,7 @@ HEADERS := \
gen/has/acl-is-trivial-np.h \
gen/has/acl-trivial.h \
gen/has/builtin-riscv-pause.h \
+ gen/has/compound-literal-storage.h \
gen/has/confstr.h \
gen/has/extattr-get-file.h \
gen/has/extattr-get-link.h \