aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-07-10 01:15:37 -0700
committerMichael Forney <mforney@mforney.org>2019-07-10 01:20:07 -0700
commita373f5df29f55b42de11fc2449364c23f5b866cb (patch)
tree89e377acd14a867b555667af752a558238adfac9 /test
parent37215c28312432c989b403a81b057f2770c6b532 (diff)
downloadcproc-a373f5df29f55b42de11fc2449364c23f5b866cb.tar.xz
decl: Display message when _Static_assert fails
Diffstat (limited to 'test')
-rw-r--r--test/static-assert-concat.c1
-rw-r--r--test/static-assert-concat.qbe0
2 files changed, 1 insertions, 0 deletions
diff --git a/test/static-assert-concat.c b/test/static-assert-concat.c
new file mode 100644
index 0000000..7dd6f65
--- /dev/null
+++ b/test/static-assert-concat.c
@@ -0,0 +1 @@
+_Static_assert(1, "abc" "def");
diff --git a/test/static-assert-concat.qbe b/test/static-assert-concat.qbe
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/static-assert-concat.qbe