summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/compound-type.c
blob: 63ba69460c317351f4814825bdc88e807db5ed9a (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 < %s -emit-llvm -triple i686-pc-linux-gnu > %t
// RUN: grep "div i32" %t
// RUN: grep "shl i32" %t

unsigned char a,b;
void c(void) {a <<= b;}
void d(void) {a /= b;}