1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
5 @property int auto_opt_window;
6 @property int no_auto_opt_window;
10 @property int auto_opt_window;
17 @property int auto_req_window;
18 @property int no_auto_req_window; // expected-note {{property declared here}}
22 @property int auto_req_window;
25 @implementation I1 // expected-warning {{auto property synthesis will not synthesize property declared in a protocol}}
28 // CHECK: define internal i32 @"\01-[I auto_opt_window]"(
29 // CHECK: define internal void @"\01-[I setAuto_opt_window:]"(
30 // CHECK: define internal i32 @"\01-[I1 auto_req_window]"(
31 // CHECK: define internal void @"\01-[I1 setAuto_req_window:]"(
33 // CHECK-NOT: define internal i32 @"\01-[I1 no_auto_opt_window]"(
34 // CHECK-NOT: define internal void @"\01-[I1 setNo_auto_opt_window:]"(
35 // CHECK-NOT: define internal i32 @"\01-[I no_auto_req_window]"(
36 // CHECK-NOT: define internal void @"\01-[I setNo_auto_req_window:]"(