]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/dlopen-in-init3.dtest/foo.c
dyld-851.27.tar.gz
[apple/dyld.git] / testing / test-cases / dlopen-in-init3.dtest / foo.c
1 #include "test_support.h"
2
3 extern int bar();
4 extern int bazIsInited();
5
6 int foo() {
7 if ( bar() != 0 ) {
8 return 1;
9 }
10 if ( bazIsInited() == 0 ) {
11 FAIL("didn't init baz");
12 }
13 return 0;
14 }