summaryrefslogtreecommitdiffstats
path: root/src/libical-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libical-test.c')
-rw-r--r--src/libical-test.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libical-test.c b/src/libical-test.c
new file mode 100644
index 0000000..e5ffbae
--- /dev/null
+++ b/src/libical-test.c
@@ -0,0 +1,19 @@
+/* This file is part of mingw-cross-env. */
+/* See doc/index.html for further information. */
+
+#include <stdio.h>
+#include <libical/ical.h>
+
+int main(int argc, char *argv[])
+{
+ icalvalue *v;
+ char *str;
+ (void)argc;
+ (void)argv;
+
+ v = icalvalue_new_caladdress("cap://value/1");
+ str = icalvalue_as_ical_string_r(v);
+ printf("String: %s\n", str);
+
+ return 0;
+}