| // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s |
| // RUN: grep objc_assign_ivar %t | count 3 |
| // RUN: grep objc_assign_strongCast %t | count 6 |
| // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s |
| // RUN: grep objc_assign_ivar %t | count 3 |
| // RUN: grep objc_assign_strongCast %t | count 6 |
| typedef struct Slice Slice; |
| void *__strong * IvarItem; |
| typedef void (^observer_block_t)(id object); |
| // storing into an array of strong pointer types. |
| // storing indirectly into an array of strong pointer types. |
| // storing into a struct element of an array of strong pointer types. |
| // Storing into an ivar of an array of strong pointer types. |
| islice->IvarItem[i] = (void*)0; |