aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/compound-type.c
blob: 47eb3a6e57b69b7b1bbbc69db0cb2faa2437edd2 (plain)
1
2
3
4
5
6
7
// RUN: clang-cc < %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;}