Remove building with NOCRYPTO option
[minix.git] / external / bsd / llvm / dist / clang / test / Index / availability.c
blobcfe0ff5bea81b5f99770d7794c6679b3e9ec0916
1 // Run lines below; this test is line- and column-sensitive.
3 void foo(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7), availability(ios,introduced=3.2,deprecated=4.1)));
5 enum {
6 old_enum
7 } __attribute__((deprecated));
9 enum {
10 old_enum_plat
11 } __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7)
13 // RUN: c-index-test -test-load-source all %s > %t
14 // RUN: FileCheck -check-prefix=CHECK-1 %s < %t
15 // RUN: FileCheck -check-prefix=CHECK-2 %s < %t
16 // CHECK-1: (ios, introduced=3.2, deprecated=4.1)
17 // CHECK-2: (macosx, introduced=10.4, deprecated=10.5, obsoleted=10.7)
19 // CHECK-2: EnumConstantDecl=old_enum:6:3 (Definition) (deprecated)
20 // CHECK-2: EnumConstantDecl=old_enum_plat:10:3 {{.*}} (macosx, introduced=10.4, deprecated=10.5, obsoleted=10.7)