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-tidy][use-internal-linkage]fix false positives for global overloaded operator...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
2005-01-03-StaticInitializers.cpp
blob
b8078d88a3f78a93bef55bb320e34cf0a82fd0f2
1
// RUN: %clang_cc1 -triple=x86_64-linux-gnu -emit-llvm %s -o - | FileCheck %s
2
// RUN: %clang_cc1 -triple=i386-linux-gnu -emit-llvm %s -o - | FileCheck %s
3
4
struct
S
{
5
int
A
[
2
];
6
};
7
8
// CHECK: @XX = global i32 4, align 4
9
int
XX
= (
int
)(
long
)&(((
struct
S
*)
0
)->
A
[
1
]);