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

struct bar;

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