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
/
method-def-2.m
blob
915f23164d611f346850b698a4bab0c597952f8e
1
// RUN: %clang_cc1 -ast-print %s
2
extern void abort(void);
3
#define CHECK_IF(expr) if(!(expr)) abort()
4
5
static double d = 4.5920234e2;
6
7
@interface Foo
8
-(void) brokenType: (int)x floatingPoint: (double)y;
9
@end
10
11
12
@implementation Foo
13
-(void) brokenType: (int)x floatingPoint: (double)y
14
{
15
CHECK_IF(x == 459);
16
CHECK_IF(y == d);
17
}
18
@end
19