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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
utils
/
update_cc_test_checks
/
Inputs
/
check-attributes.cpp
blob
9a80ab603c7ed6fb2ab84df38767f521b6fbc49d
1
// RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
2
struct
RT
{
3
char
A
;
4
int
B
[
10
][
20
];
5
char
C
;
6
};
7
struct
ST
{
8
int
X
;
9
double
Y
;
10
struct
RT Z
;
11
};
12
13
int
*
foo
(
struct
ST
*
s
) {
14
return
&
s
[
1
].
Z
.
B
[
5
][
13
];
15
}