]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/weak-coalesce.dtest/foo2.c
74d884b5509215d8a48d74c84fac939c32392bff
5 int coal1
= 2; // note: this is not weak and therefore should win
6 int __attribute__((weak
)) coal2
= 2;
8 static __attribute__((constructor
))
11 //fprintf(stderr, "myinit() in foo1.c\n");
12 baseVerifyCoal1("in foo2", &coal1
);
13 baseVerifyCoal2("in foo2", &coal2
);