]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/_dyld_shared_cache_is_locally_built.dtest/main.c
dyld-832.7.1.tar.gz
[apple/dyld.git] / testing / test-cases / _dyld_shared_cache_is_locally_built.dtest / main.c
1
2 // BUILD: $CC main.c -o $BUILD_DIR/_dyld_shared_cache_is_locally_built.exe
3
4 // RUN: ./_dyld_shared_cache_is_locally_built.exe
5
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
9 #include <mach-o/dyld_priv.h>
10 #include <dlfcn.h>
11
12 #include "test_support.h"
13
14 int main(int argc, const char* argv[], const char* envp[], const char* apple[]) {
15 // We can't reliably test the result of this function, but it shouldn't crash
16 _dyld_shared_cache_is_locally_built();
17
18 PASS("SUCCESS");
19 }
20