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][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
C
/
C11
/
n1311.c
blob
8ceee74e43af6a6356af659725c701f46cd0398b
1
// RUN: %clang_cc1 -emit-llvm -o - %s
2
3
/* WG14 N1311: Yes
4
* Initializing static or external variables
5
*/
6
7
static int
x
;
8
static union
{
9
void
*
vp
;
10
float
f
;
11
int
i
;
12
}
u
;
13
14
int
main
(
void
) {
15
return
x
+
u
.
i
;
16
}
17
18
// CHECK: @x ={{.*}}i32 0
19
// CHECK-NEXT: @u ={{.*}}zeroinitializer