b.c (133B)
1 static int g_flag = 0; 2 static void __attribute__((constructor)) b_init(void) { g_flag = 1; } 3 int b_get_flag(void) { return g_flag; }