]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/rpath-indirect-suid/main.c
dyld-195.5.tar.gz
[apple/dyld.git] / unit-tests / test-cases / rpath-indirect-suid / main.c
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <dlfcn.h>
4
5 #include "test.h"
6
7 extern void foo();
8
9 int main()
10 {
11 foo();
12 #if DEFAULT_FAIL
13 FAIL("rpath-indirect-setuid");
14 #else
15 PASS("rpath-indirect-setuid");
16 #endif
17 return EXIT_SUCCESS;
18 }