1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// RUN: %clang_cc1 -fobjc-default-synthesize-properties -masm-verbose -S -g %s -o - | FileCheck %s // CHECK: AT_APPLE_property_name // CHECK-NOT: AT_APPLE_property_getter // CHECK-NOT: AT_APPLE_property_setter // CHECK: AT_APPLE_property_attribute // CHECK: AT_APPLE_property @interface I1 @property int p1; @end @implementation I1 @end void foo(I1 *ptr) {}