26 lines · c
1// RUN: %clang_cc1 < %s -emit-llvm2int A;3long long B;4int C;5int *P;6void test1(void) {7 C = (A /= B);8 9 P -= 4;10 11 C = P - (P+10);12}13 14short x; 15void test2(char c) { x += c; }16 17void foo(char *strbuf) {18 int stufflen = 4;19 strbuf += stufflen;20}21 22 23// Aggregate cast to void24union uu { int a;}; void f(union uu p) { (void) p;}25 26