llvm-project/clang/test/CodeGen/PR3130-cond-constant.c

4 lines
60 B
C

// RUN: %clang_cc1 -emit-llvm %s -o -
int a = 2.0 ? 1 : 2;