comparison clang/test/CodeGenObjC/objc2-no-strong-cast.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
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