diff options
Diffstat (limited to 'clang/test/CodeGenObjC/complex-property.m')
-rw-r--r-- | clang/test/CodeGenObjC/complex-property.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/complex-property.m b/clang/test/CodeGenObjC/complex-property.m index 6d7cda19ec4..bd3bfea94b5 100644 --- a/clang/test/CodeGenObjC/complex-property.m +++ b/clang/test/CodeGenObjC/complex-property.m @@ -3,11 +3,14 @@ @interface A @property __complex int COMPLEX_PROP; +- (__complex int)y; +- (void) setY : (__complex int)rhs; @end void f0(A *a) { _Complex int a1 = 25 + 10i; a.COMPLEX_PROP += a1; + a.y += a1; } // CHECK-LP64: internal global [13 x i8] c"COMPLEX_PROP |