aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/test.c
blob: 0688f8fc2bf8d3a862f578e25ce74ef464cf7959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}