Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/objc2-no-strong-cast.m @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -emit-llvm -o %t %s |
2 | |
3 @interface PDFViewPrivateVars | |
4 { | |
5 @public | |
6 __attribute__((objc_gc(strong))) char *addedTooltips; | |
7 } | |
8 @end | |
9 | |
10 @interface PDFView | |
11 { | |
12 PDFViewPrivateVars *_pdfPriv; | |
13 } | |
14 @end | |
15 | |
16 @implementation PDFView | |
17 - (void) addTooltipsForPage | |
18 { | |
19 _pdfPriv->addedTooltips[4] = 1; | |
20 } | |
21 @end | |
22 |