[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / compound.c
blobb21f0dc43abf1059e40ecdb2a23c90029ddf67f3
1 // RUN: %clang_cc1 < %s -emit-llvm
2 int A;
3 long long B;
4 int C;
5 int *P;
6 void test1(void) {
7 C = (A /= B);
9 P -= 4;
11 C = P - (P+10);
14 short x;
15 void test2(char c) { x += c; }
17 void foo(char *strbuf) {
18 int stufflen = 4;
19 strbuf += stufflen;
23 // Aggregate cast to void
24 union uu { int a;}; void f(union uu p) { (void) p;}