]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dlopen-flat.dtest/bar.c
dyld-750.5.tar.gz
[apple/dyld.git] / testing / test-cases / dlopen-flat.dtest / bar.c
1
2 extern int foo();
3
4 extern int gInitialisersCalled;
5
6 __attribute__((constructor))
7 static void onLoad() {
8 ++gInitialisersCalled;
9 }
10
11 typedef int(*retTy)();
12
13 retTy bar() {
14 return &foo;
15 }