Douglas Gregor | cc88966 | 2012-05-08 00:14:45 +0000 | [diff] [blame] | 1 | // Run lines below; this test is line- and column-sensitive. |
| 2 | |
| 3 | void foo(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7), availability(ios,introduced=3.2,deprecated=4.1))); |
| 4 | |
Douglas Gregor | 7032265 | 2012-05-08 00:29:04 +0000 | [diff] [blame^] | 5 | // RUN: c-index-test -test-load-source all %s > %t |
| 6 | // RUN: FileCheck -check-prefix=CHECK-1 %s < %t |
| 7 | // RUN: FileCheck -check-prefix=CHECK-2 %s < %t |
| 8 | // CHECK-1: (ios, introduced=3.2, deprecated=4.1) |
| 9 | // CHECK-2: (macosx, introduced=10.4, deprecated=10.5, obsoleted=10.7) |
| 10 | |