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