aboutsummaryrefslogtreecommitdiff
path: root/test/symbolic/klee/viml_expressions_lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/symbolic/klee/viml_expressions_lexer.c')
-rw-r--r--test/symbolic/klee/viml_expressions_lexer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/symbolic/klee/viml_expressions_lexer.c b/test/symbolic/klee/viml_expressions_lexer.c
index 67f3eb7faa..cddc1cb2f1 100644
--- a/test/symbolic/klee/viml_expressions_lexer.c
+++ b/test/symbolic/klee/viml_expressions_lexer.c
@@ -2,6 +2,7 @@
# include <klee/klee.h>
#else
# include <string.h>
+# include <stdio.h>
#endif
#include <stddef.h>
#include <stdint.h>
@@ -56,7 +57,7 @@ int main(const int argc, const char *const *const argv,
.data = &input[shift],
.size = sizeof(input) - shift,
#else
- .data = (const char *)&argv[1],
+ .data = (const char *)argv[1],
.size = strlen(argv[1]),
#endif
.allocated = false,
@@ -97,4 +98,7 @@ int main(const int argc, const char *const *const argv,
}
assert(allocated_memory == 0);
assert(ever_allocated_memory == 0);
+#ifndef USE_KLEE
+ fprintf(stderr, "tkn: %s\n", viml_pexpr_repr_token(&pstate, token, NULL));
+#endif
}