]> git.saurik.com Git - apple/dyld.git/blame - unit-tests/test-cases/rpath-indirect-suid/main.c
dyld-353.2.1.tar.gz
[apple/dyld.git] / unit-tests / test-cases / rpath-indirect-suid / main.c
CommitLineData
bac542e6
A
1#include <stdio.h>
2#include <stdlib.h>
3#include <dlfcn.h>
4
5#include "test.h"
6
7extern void foo();
8
9int 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}