dyld-732.8.tar.gz
[apple/dyld.git] / testing / test-cases / dlopen-in-init2.dtest / bar.c
1
2 static int inited = 0;
3
4 __attribute__((constructor))
5 static void myinit()
6 {
7 inited = 1;
8 }
9
10 int barIsInited() {
11 return inited;
12 }
13
14 int bar() {
15 return inited ? 0 : 1;
16 }