]>
git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/branch-islands/main.c
2 #include <stdlib.h> // exit(), EXIT_SUCCESS
6 #include "test.h" // PASS(), FAIL(), XPASS(), XFAIL()
8 // returns false on success
11 const char* str
= "hello";
17 FAIL("branch-islands: test1");
19 if ( strncmp(str
, "he", 2) != 0 )
20 FAIL("branch-islands: strncmp stub");
23 PASS("branch-islands");