summaryrefslogtreecommitdiff
path: root/test/CodeGen/2003-08-21-BinOp-Type-Mismatch.c
blob: d86b0244e17bf81545b43ec1197774e209de2f29 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

struct bar;

void foo()
{
  unsigned int frame, focus;
  (struct bar *) focus == (focus ? ((struct bar *) frame) : 0);
}