summaryrefslogtreecommitdiff
path: root/test/compile-c11.sh
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-30 10:55:28 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-30 10:55:28 +0100
commitc0fb6442e30c44490b42e6072151ee739b944e56 (patch)
tree48cd5bd004ffacebee7d8d139d09e34d3976fd42 /test/compile-c11.sh
parent8768a30f73a8ad5ab00476401626993958845ad7 (diff)
Run tests with both C (c99, c11) and C++ (c++11, c++20) compilers
Diffstat (limited to 'test/compile-c11.sh')
-rwxr-xr-xtest/compile-c11.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/compile-c11.sh b/test/compile-c11.sh
new file mode 100755
index 0000000..87ec632
--- /dev/null
+++ b/test/compile-c11.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec gcc -std=c11 -Wall -Wextra -pedantic -I../src -o inflate inflate-app.c ../src/inflate.c