2007-08-25 05:00:35 +08:00
|
|
|
// RUN: clang %s -emit-llvm
|
|
|
|
int A;
|
|
|
|
long long B;
|
|
|
|
int C;
|
|
|
|
int *P;
|
2007-08-26 05:57:08 +08:00
|
|
|
void test1() {
|
2007-08-25 05:00:35 +08:00
|
|
|
C = (A /= B);
|
|
|
|
|
|
|
|
P -= 4;
|
|
|
|
|
|
|
|
C = P - (P+10);
|
|
|
|
}
|
|
|
|
|
2007-08-26 05:57:08 +08:00
|
|
|
short x;
|
|
|
|
void test2(char c) { x += c; }
|
2007-08-25 05:00:35 +08:00
|
|
|
|