diff options
Diffstat (limited to 'pkg/test.c')
-rw-r--r-- | pkg/test.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkg/test.c b/pkg/test.c new file mode 100644 index 0000000..0688f8f --- /dev/null +++ b/pkg/test.c @@ -0,0 +1,23 @@ +/* ========================================================================== + Licensed under BSD 2clause license See LICENSE file for more information + Author: Michał Łyszczek <michal.lyszczek@bofc.pl> + ========================================================================== */ + +/* this is very minimum program, just to check if librb is installed + * on the system or not + */ + +#include <rb.h> + +int main(void) +{ + struct rb *rb; + + if ((rb = rb_new(4, 1, 0)) == NULL) + { + return 1; + } + + rb_destroy(rb); + return 0; +} |