repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
compound.c
blob
b21f0dc43abf1059e40ecdb2a23c90029ddf67f3
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
);
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