diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-30 10:55:28 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-30 10:55:28 +0100 |
commit | c0fb6442e30c44490b42e6072151ee739b944e56 (patch) | |
tree | 48cd5bd004ffacebee7d8d139d09e34d3976fd42 /test/compile-c++20.sh | |
parent | 8768a30f73a8ad5ab00476401626993958845ad7 (diff) |
Run tests with both C (c99, c11) and C++ (c++11, c++20) compilers
Diffstat (limited to 'test/compile-c++20.sh')
-rwxr-xr-x | test/compile-c++20.sh | 4 |
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 |