repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git]
/
test
/
FrontendObjC
/
2011-03-08-IVarLookup.m
blob
939f2a7b8f36bd959131fdf7fefd777e83fc58dc
1
// RUN: %llvmgcc -x objective-c -S -fobjc-abi-version=2 %s -o /dev/null
2
// XFAIL: *
3
// XTARGET: darwin
4
5
typedef unsigned int UInt_t;
6
7
@interface A
8
{
9
@protected
10
UInt_t _f1;
11
}
12
@end
13
14
@interface B : A { }
15
@end
16
17
@interface A ()
18
@property (assign) UInt_t f1;
19
@end
20
21
@interface B ()
22
@property (assign) int x;
23
@end
24
25
@implementation B
26
@synthesize x;
27
- (id) init
28
{
29
_f1 = 0;
30
return self;
31
}
32
@end