repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
conflict-nonfragile-abi2.m
blob
d0d6be84a65e04e7e6e1220f99d06840f15ff8a4
1
// RUN: %clang_cc1 -verify -fsyntax-only -Wno-objc-root-class %s
2
// expected-no-diagnostics
3
// rdar://8225011
4
5
int glob;
6
7
@interface I
8
@property int glob;
9
@property int p;
10
@property int le;
11
@property int l;
12
@property int ls;
13
@property int r;
14
@end
15
16
// rdar://9027673
17
// Warning on future name lookup rule is removed.
18
@implementation I
19
- (int) Meth { return glob; } // no warning
20
@synthesize glob;
21
// rdar://8248681
22
- (int) Meth1: (int) p {
23
extern int le;
24
int l = 1;
25
static int ls;
26
register int r;
27
p = le + ls + r;
28
return l;
29
}
30
@dynamic p;
31
@dynamic le;
32
@dynamic l;
33
@dynamic ls;
34
@dynamic r;
35
@end
36
37