2009-04-23 07:20:34 +08:00
|
|
|
// Test this without pch.
|
2009-11-08 09:45:36 +08:00
|
|
|
// RUN: clang-cc -include %S/objc_property.h -fsyntax-only -verify %s
|
2009-04-23 07:20:34 +08:00
|
|
|
|
|
|
|
// Test with pch.
|
2009-11-08 09:45:36 +08:00
|
|
|
// RUN: clang-cc -x=objective-c -emit-pch -o %t %S/objc_property.h
|
2009-04-24 06:29:11 +08:00
|
|
|
// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
|
2009-04-23 07:20:34 +08:00
|
|
|
|
|
|
|
void func() {
|
|
|
|
TestProperties *xx = [TestProperties alloc];
|
|
|
|
xx.value = 5;
|
|
|
|
}
|