1*67e74705SXin Li// Test this without pch. 2*67e74705SXin Li// RUN: %clang_cc1 -include %S/objc_property.h -fsyntax-only -verify %s 3*67e74705SXin Li 4*67e74705SXin Li// Test with pch. 5*67e74705SXin Li// RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_property.h 6*67e74705SXin Li// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s 7*67e74705SXin Li 8*67e74705SXin Li// expected-no-diagnostics 9*67e74705SXin Li 10*67e74705SXin Livoid func() { 11*67e74705SXin Li TestProperties *xx = [TestProperties alloc]; 12*67e74705SXin Li xx.value = 5; 13*67e74705SXin Li} 14