summaryrefslogtreecommitdiffstats
path: root/test/var-test.c
diff options
context:
space:
mode:
authorAnton L. Šijanec <anton@sijanec.eu>2020-05-03 21:00:05 +0200
committerAnton L. Šijanec <anton@sijanec.eu>2020-05-03 21:00:05 +0200
commitf80f005c602654abe137f152a5128c8abd81f9a7 (patch)
tree883df3ae2bb5873c34ea05a379122bd28db7a831 /test/var-test.c
parentfix glede na prejšnji komit (diff)
downloadbverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar
bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.gz
bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.bz2
bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.lz
bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.xz
bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.tar.zst
bverbose-f80f005c602654abe137f152a5128c8abd81f9a7.zip
Diffstat (limited to '')
-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;
+}