Merge branch 'test-ip_mreq_source-android-only' into 'master'
[glib.git] / glib / tests / include.c
blob132526637a2ce089901bf412046c0fca52985c8d
1 /* Test case for bug 659866 */
3 #define _POSIX_C_SOURCE 199309L
4 #undef _GNU_SOURCE
5 #undef _XOPEN_SOURCE
6 #include <pthread.h>
7 #include <glib.h>
9 static void
10 test_rwlock (void)
12 GRWLock lock;
14 g_rw_lock_init (&lock);
15 g_rw_lock_clear (&lock);
18 int
19 main (int argc, char *argv[])
21 g_test_init (&argc, &argv, NULL);
23 g_test_add_func ("/include/rwlock", test_rwlock);
25 return g_test_run ();