summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2008-11-08-InstCombineSelect.c
blob: 3f4428e572ee8a0527790de143ee7a9c4d8030cb (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: %clang_cc1 %s -emit-llvm -O2 -o -
// PR3028

int g_187;
int g_204;
int g_434;

int func_89 (void)
{
  return 1;
}

void func_20 (int p_22)
{
  if (1 & p_22 | g_204 & (1 < g_187) - func_89 ())
    g_434 = 1;
}