Debian Codegraph @

clang/test/Driver/attr-availability-erroneous-diags.c

raw
1 // RUN: not %clang -target x86_64-apple-darwin9 -fsyntax-only %s 2>&1 | FileCheck %s
2
3 // CHECK: error:
4 // CHECK-SAME: 'f0' is unavailable: introduced in macOS 11
5 // CHECK-NOT: unknown
6
7 void f0(void) __attribute__((availability(macosx,strict,introduced=11)));
8
9 void client(void) {
10 f0(); }