llvm/clang/test/CodeGen/2003-08-21-BinOp-Type-Mismatch.c

// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

struct bar;

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