various GLib tests: plug memory leaks
[platform/upstream/glib.git] / glib / tests / include.c
1 /* Test case for bug 659866 */
2
3 #define _POSIX_C_SOURCE 0
4 #undef _GNU_SOURCE
5 #undef _XOPEN_SOURCE
6 #include <pthread.h>
7 #include <glib.h>
8
9 int
10 main (int argc, char *argv[])
11 {
12   GRWLock lock;
13
14   g_rw_lock_init (&lock);
15   g_rw_lock_clear (&lock);
16
17   return 0;
18 }