1 // RUN: %clang_cc1 -triple arm64-apple-ios10 -Wunguarded-availability -fblocks -fsyntax-only -verify %s
3 __attribute__((availability(ios,unavailable)))
4 @protocol Prot // expected-note {{here}}
11 __attribute__((availability(ios,unavailable)))
12 @interface A (Cat) <Prot> // No error.
15 __attribute__((availability(tvos,unavailable)))
17 @interface B (Cat) <Prot> // expected-error {{'Prot' is unavailable: not available on iOS}}