We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f3bbc commit 406357fCopy full SHA for 406357f
clang/test/Modules/sdk-settings-json-dep.m
@@ -46,4 +46,8 @@
46
// RUN: sleep 1
47
// RUN: cp %t/AppleTVOS15.0.sdk/SDKSettings-new.json %t/AppleTVOS15.0.sdk/SDKSettings.json
48
// RUN: not %clang -target x86_64-apple-tvos13.1 -isysroot %t/AppleTVOS15.0.sdk \
49
-// RUN: -fsyntax-only %t/tu.m -o %t/tu.o -fmodules -Xclang -fdisable-module-hash -fmodules-cache-path=%t/cache
+// RUN: -fsyntax-only %t/tu.m -o %t/tu.o -fmodules -Xclang -fdisable-module-hash -fmodules-cache-path=%t/cache 2>&1 \
50
+// RUN: | FileCheck %s
51
+// CHECK: M.h:2:15: error: 'foo' is unavailable: obsoleted in tvOS 13.1
52
+// CHECK: M.h:1:6: note: 'foo' has been explicitly marked unavailable here
53
+// CHECK: tu.m:1:10: fatal error: could not build module 'M'
0 commit comments