From a3ee146b4d26e9878c2756c02fe90947d70b55fd Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 16 Aug 2025 16:04:11 +0100 Subject: [PATCH] test: object: add simple string test --- object-test/simple.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 object-test/simple.c diff --git a/object-test/simple.c b/object-test/simple.c new file mode 100644 index 0000000..59225de --- /dev/null +++ b/object-test/simple.c @@ -0,0 +1,11 @@ +#include + +int main(void) +{ + b_string *string = B_CSTR("Hello, world!"); + printf("string object = "); + b_object_to_string(string, b_stdout); + printf("\n"); + b_release(string); + return 0; +}