summaryrefslogtreecommitdiff
path: root/test/compile-c++20.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/compile-c++20.sh')
-rwxr-xr-xtest/compile-c++20.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/compile-c++20.sh b/test/compile-c++20.sh
new file mode 100755
index 0000000..502063b
--- /dev/null
+++ b/test/compile-c++20.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# g++ as provided by Debian Buster (used for CI tests) does not support c++20
+exec g++ -std=c++2a -Wall -Wextra -pedantic -I../src -o inflate inflate-app.c ../src/inflate.c