summaryrefslogtreecommitdiff
path: root/tests/test-c.c
diff options
context:
space:
mode:
authorCebtenzzre <cebtenzzre@gmail.com>2023-08-30 02:20:26 -0400
committerGitHub <noreply@github.com>2023-08-30 09:20:26 +0300
commit849408957c687cde4ab32c147107f643fc55130b (patch)
tree5ca464144f25b39f9978a9e650e70e77dcb583e7 /tests/test-c.c
parent06abf8eebabe086ca4003dee2754ab45032cd3fd (diff)
tests : add a C compliance test (#2848)
* tests : add a C compliance test * make : build C compliance test by default * make : fix clean and make sure C test fails on clang * make : move -Werror=implicit-int to CFLAGS
Diffstat (limited to 'tests/test-c.c')
-rw-r--r--tests/test-c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-c.c b/tests/test-c.c
new file mode 100644
index 00000000..a0507108
--- /dev/null
+++ b/tests/test-c.c
@@ -0,0 +1,3 @@
+#include "llama.h"
+
+int main(void) {}