brintos

brintos / llvm-project-archived public Read only

0
0
Text · 330 B · b21f0dc Raw
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