summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/objc2-no-strong-cast.m
blob: 0824f4086537a80dddc4660126ec90e17e9c14a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// RUN: %clang_cc1 -emit-llvm -o %t %s

@interface PDFViewPrivateVars 
{
@public
	__attribute__((objc_gc(strong))) char *addedTooltips;
}
@end

@interface PDFView 
{
    PDFViewPrivateVars *_pdfPriv;
}
@end

@implementation PDFView
- (void) addTooltipsForPage
{
 _pdfPriv->addedTooltips[4] = 1;
}
@end