From d973b4b8eaaa5e7f1d10f9f02069c6d7bde25dcc Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Sun, 3 Oct 2021 21:31:59 +0100 Subject: Add testing code and fix a few bugs --- test.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test.c') diff --git a/test.c b/test.c index b2f9976..d4d138b 100644 --- a/test.c +++ b/test.c @@ -1,2 +1,11 @@ +#include +#include "cudl.h" + int main() { + struct cudl_value value; + cudl_parse_from_file(stdin, &value); + if (cudl_err) + return cudl_err; + cudl_debug(value); + return 0; } -- cgit v1.2.3