aboutsummaryrefslogtreecommitdiff
path: root/test/symbolic/klee/nvim/charset.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-09-11 01:27:46 +0300
committerZyX <kp-pav@yandex.ru>2017-10-08 22:25:05 +0300
commit7c97f783935ec122fbf0d7d070c00804738abd6a (patch)
tree0ad3a1c319c04c02686c32b27ec725f4f7ded076 /test/symbolic/klee/nvim/charset.c
parent430e516d3ac1235c1ee3009a8a36089bf278440e (diff)
downloadrneovim-7c97f783935ec122fbf0d7d070c00804738abd6a.tar.gz
rneovim-7c97f783935ec122fbf0d7d070c00804738abd6a.tar.bz2
rneovim-7c97f783935ec122fbf0d7d070c00804738abd6a.zip
klee: Start preparing for klee tests
First stage: something compiling without klee, but with a buch of dirty hacks - done. Second stage: something running under klee, able to emit useful results, but still using dirty hacks - done. Third stage: make CMake care about clang argumnets - not done, may be omitted if proves to be too hard. Not that klee can be run on CI in any case.
Diffstat (limited to 'test/symbolic/klee/nvim/charset.c')
-rw-r--r--test/symbolic/klee/nvim/charset.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/symbolic/klee/nvim/charset.c b/test/symbolic/klee/nvim/charset.c
new file mode 100644
index 0000000000..a40488920e
--- /dev/null
+++ b/test/symbolic/klee/nvim/charset.c
@@ -0,0 +1,10 @@
+#include <stdbool.h>
+
+#include "nvim/ascii.h"
+#include "nvim/macros.h"
+#include "nvim/charset.h"
+
+bool vim_isIDc(int c)
+{
+ return ASCII_ISALNUM(c);
+}