brintos

brintos / llvm-project-archived public Read only

0
0
Text · 346 B · 915f231 Raw
20 lines · plain
1// RUN: %clang_cc1 -ast-print %s2extern void abort(void);3#define CHECK_IF(expr) if(!(expr)) abort()4 5static double d = 4.5920234e2;6 7@interface Foo 8-(void) brokenType: (int)x floatingPoint: (double)y;9@end10 11 12@implementation Foo13-(void) brokenType: (int)x floatingPoint: (double)y14{15        CHECK_IF(x == 459);16        CHECK_IF(y == d);17}18@end19 20