]>
git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/weak-coalesce.dtest/foo3.c
1 #include "test_support.h"
5 int __attribute__((weak
)) coal1
= 3;
6 int __attribute__((weak
)) coal2
= 2;
8 static __attribute__((constructor
))
9 void myinit(int argc
, const char* argv
[], const char* envp
[], const char* apple
[])
11 LOG("myinit() in foo1.c");
12 baseVerifyCoal1("in foo3", &coal1
);
13 baseVerifyCoal2("in foo3", &coal2
);