aboutsummaryrefslogtreecommitdiff
path: root/tests/hello_world.c
diff options
context:
space:
mode:
authorbonmas14 <bonmas14@gmail.com>2025-08-02 23:20:37 +0000
committerbonmas14 <bonmas14@gmail.com>2025-08-02 23:20:37 +0000
commit1cf89852f951b59b89f2a8bd7b54a0b0b74d439c (patch)
tree884af08903beba5f0e1e8435df4a1c7015270487 /tests/hello_world.c
downloadungrateful-1cf89852f951b59b89f2a8bd7b54a0b0b74d439c.tar.gz
ungrateful-1cf89852f951b59b89f2a8bd7b54a0b0b74d439c.zip
memory manipulation, strings, allocators list and logger.
Diffstat (limited to 'tests/hello_world.c')
-rw-r--r--tests/hello_world.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/hello_world.c b/tests/hello_world.c
new file mode 100644
index 0000000..78f6c29
--- /dev/null
+++ b/tests/hello_world.c
@@ -0,0 +1,7 @@
+#include <ungrateful.h>
+
+int main(void) {
+ un_log_write(UN_LOG_INFO, un_string_from_cstring(UN_CSTR "Hello world!"));
+
+ return 0;
+}