summaryrefslogtreecommitdiffstats
path: root/test/var-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/var-test.c')
-rw-r--r--test/var-test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/var-test.c b/test/var-test.c
new file mode 100644
index 0000000..8c40d85
--- /dev/null
+++ b/test/var-test.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <bvrvar.c>
+
+int main(int argc, char * argv[]) {
+ bvr_var_set("abc", "1232");
+ printf("%s\n", bvr_var_get("abc"));
+ return 0;
+}