1 /* This program tests use of property provided setter/getter functions. */
3 /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
5 #import "../../objc-obj-c++-shared/TestsuiteObject.m"
7 @interface Bar : TestsuiteObject
11 @property (setter=MySetter:) int FooBar;
15 @synthesize FooBar=iVar;
17 - (void) MySetter : (int) value { iVar = value; }
21 int main(int argc, char *argv[]) {