]>
git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/re-export-symbol/main1.c
1 #include <stdio.h> // fprintf(), NULL
2 #include <stdlib.h> // exit(), EXIT_SUCCESS
5 #include "test.h" // PASS(), FAIL(), XPASS(), XFAIL()
16 FAIL("re-export-symbol: foo() returned wrong value");
18 FAIL("re-export-symbol: bar() returned wrong value");
19 if ( (*pbar
)() != 10 )
20 FAIL("re-export-symbol: (*pbar)() returned wrong value");
21 PASS("re-export-symbol");