// RUN: %clang_cc1 -triple x86_64-apple-macosx10.14.0 -fsyntax-only -Wno-objc-root-class -verify %s
// expected-warning@+1 {{'always_inline' attribute only applies to functions and statements}}
// expected-warning@+1 {{'always_inline' attribute only applies to functions and statements}}
// expected-warning@+1 {{'always_inline' attribute only applies to functions and statements}}
// expected-warning@+1 {{cannot find interface declaration for 'I2'}}
// expected-error@+1 {{only applies to Objective-C interfaces}}
// expected-warning@+1 {{cannot find interface declaration for 'I3'}}
typedef int AVAIL_ATTR unavail_int; // expected-note {{marked as being introduced}}
// expected-note {{annotate}}
I5 *i5;
// expected-error@+1 2 {{'annotate' attribute takes at least 1 argument}}
// expected-note {{when applied to this declaration}}
// expected-note {{when applied to this declaration}}