dyld-750.5.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 $BUILD_DIR/scratch.exe -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112
8
9 // BUILD: $SKIP_INSTALL $BUILD_DIR/scratch.exe
10
11 // RUN: ./unix-conformance.exe
12
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include <string.h>
16 #include <dlfcn.h>
17
18 #include "test_support.h"
19
20 int main(int argc, const char* argv[], const char* envp[], const char* apple[]) {
21 PASS("Success");
22 }
23