aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-08-21-BinOp-Type-Mismatch.c
blob: 8829652cb1549d3a12f2536d1f401f92ad8dbf76 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null

struct bar;

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