Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Sema / const-eval-64.c
blobd2eea7c9a677cd922abd5389adf5177ef2deefb2
1 // RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-linux %s
3 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];});
5 EVAL_EXPR(1, ((char*)-1LL) + 1 == 0 ? 1 : -1) // expected-warning {{folded}}
6 EVAL_EXPR(2, ((char*)-1LL) + 1 < (char*) -1 ? 1 : -1) // expected-warning {{folded}}