1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s
2 // RUN: grep objc_assign_ivar %t | count 3
3 // RUN: grep objc_assign_strongCast %t | count 6
4 // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -fblocks -fobjc-gc -emit-llvm -o %t %s
5 // RUN: grep objc_assign_ivar %t | count 3
6 // RUN: grep objc_assign_strongCast %t | count 6
9 void *__strong * items;
12 typedef struct Slice Slice;
16 void *__strong * IvarItem;
20 typedef void (^observer_block_t)(id object);
23 observer_block_t block;
29 // storing into an array of strong pointer types.
30 void *__strong* items;
33 // storing indirectly into an array of strong pointer types.
34 void *__strong* *vitems;
39 // storing into a struct element of an array of strong pointer types.
44 // Storing into an ivar of an array of strong pointer types.
45 islice->IvarItem[i] = (void*)0;