[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / Driver / darwin-sdk-vs-os-version.c
blob94e52a9036ede6612834d9b3fa9a2e9435fd5438
1 // REQUIRES: system-darwin
3 // Ensure that we never pick a version that's based on the SDK that's newer than
4 // the system version:
5 // RUN: rm -rf %t/SDKs/MacOSX99.99.99.sdk
6 // RUN: mkdir -p %t/SDKs/MacOSX99.99.99.sdk
7 // RUN: %clang -target x86_64-apple-darwin -isysroot %t/SDKs/MacOSX99.99.99.sdk %s -### 2>&1 \
8 // RUN: | FileCheck --check-prefix=CHECK-MACOSX-SYSTEM-VERSION %s
10 // CHECK-MACOSX-SYSTEM-VERSION-NOT: 99.99.99"