[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / attr-availability-iosmac-infer-from-macos-no-sdk-settings.c
blob092889899206d46aa489b55f4af5192da5e2d868
1 // RUN: %clang_cc1 "-triple" "x86_64-apple-ios13.1-macabi" -fsyntax-only -verify %s
3 void f0(void) __attribute__((availability(macOS, introduced = 10.11)));
4 // expected-warning@-1 {{macOS availability is ignored without a valid 'SDKSettings.json' in the SDK}}
5 void f1(void) __attribute__((availability(macOS, introduced = 10.15)));