aboutsummaryrefslogtreecommitdiff
path: root/tests/d/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/d/test.c')
-rw-r--r--tests/d/test.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/d/test.c b/tests/d/test.c
new file mode 100644
index 0000000..554926c
--- /dev/null
+++ b/tests/d/test.c
@@ -0,0 +1,12 @@
+#include <disgrace.h>
+
+
+int main(void) {
+ un_alloc_temp_init(UN_KB(4));
+
+ d_init();
+
+ cyn_log_write(CYN_LOG_INFO, d_get_hostname_ip(UN_STR("f-tier-games.ru"), un_alloc_temp_get()));
+
+ return 0;
+}