Searched refs:EVAL_EXPR (Results 1 – 2 of 2) sorted by relevance
/external/clang/test/Sema/ |
D | const-eval.c | 3 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];}); macro 5 EVAL_EXPR(1, (_Bool)&x) 6 EVAL_EXPR(2, (int)(1.0+(double)4)) 7 EVAL_EXPR(3, (int)(1.0+(float)4.0)) 8 EVAL_EXPR(4, (_Bool)(1 ? (void*)&x : 0)) 9 EVAL_EXPR(5, (_Bool)(int[]){0}) 11 EVAL_EXPR(6, (int)(1+(struct y*)0)) 12 EVAL_EXPR(7, (int)&((struct y*)0)->y) 13 EVAL_EXPR(8, (_Bool)"asdf") 14 EVAL_EXPR(9, !!&x) [all …]
|
D | const-eval-64.c | 4 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];}); macro 7 EVAL_EXPR(1, ((char*)-1LL) + 1 == 0 ? 1 : -1) 8 EVAL_EXPR(2, ((char*)-1LL) + 1 < (char*) -1 ? 1 : -1)
|