]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/unix-conformance.dtest/main.c
dyld-733.6.tar.gz
[apple/dyld.git] / testing / test-cases / unix-conformance.dtest / main.c
1
2 // This tests that our header such as dlfcn.h pass unix conformance.
3
4 // BUILD_ONLY: MacOSX
5
6 // BUILD: $CC main.c -o $BUILD_DIR/unix-conformance.exe -D_XOPEN_SOURCE=600
7 // BUILD: $CC main.c -o $TEMP_DIR/scratch.exe -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112
8
9 // RUN: ./unix-conformance.exe
10
11 #include <stdio.h>
12 #include <stdlib.h>
13 #include <string.h>
14 #include <dlfcn.h>
15
16 int main()
17 {
18 printf("[BEGIN] unix-conformance.dtest\n");
19
20 printf("[PASS] unix-conformance.dtest\n");
21 return 0;
22 }
23