summaryrefslogtreecommitdiff
path: root/test/CodeGen/boolassign.c
blob: 8c563194e09324cf8b50261d251db52c2a6f8ba0 (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 %s -emit-llvm -o %t

int testBoolAssign(void) {
  int ss;
  if ((ss = ss && ss)) {}
  return 1;
}