summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2022-11-16 19:17:08 +0000
committerMartin Ashby <martin@ashbysoft.com>2022-11-16 19:17:08 +0000
commitdb6e9bac370093b13cfb6f0b81ac066fed64b004 (patch)
tree5eed83a8b326236d3dc132ca66903c3fb97c8a73 /test
parentbdc08b4f0507bc826c14737361f550ae0fc6b4c5 (diff)
downloadlearn-c-db6e9bac370093b13cfb6f0b81ac066fed64b004.tar.gz
learn-c-db6e9bac370093b13cfb6f0b81ac066fed64b004.tar.bz2
learn-c-db6e9bac370093b13cfb6f0b81ac066fed64b004.tar.xz
learn-c-db6e9bac370093b13cfb6f0b81ac066fed64b004.zip
Messing around replacing loops with recursion leveraging __attribute__((musttail)) in order to avoid stack overflow
Diffstat (limited to 'test')
-rwxr-xr-xtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/test b/test
index 4e32886..77c4f7d 100755
--- a/test
+++ b/test
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
-cc -Dtest=true -o test_exe CuTest.c $@
+clang -Wall -Werror -Dtest=true -o test_exe CuTest.c $@
./test_exe
result=$?
rm test_exe