Add a testcase for bug 659866
[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
16   return 0;
17 }