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