Sign in
llvm
/
llvm-project
/
d1326a3b10054dd89be46f51f857d009cf8ae14f
/
.
/
clang
/
test
/
utils
/
update_cc_test_checks
/
Inputs
/
check-attributes.cpp
blob: 9a80ab603c7ed6fb2ab84df38767f521b6fbc49d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
struct
RT
{
char
A
;
int
B
[
10
][
20
];
char
C
;
};
struct
ST
{
int
X
;
double
Y
;
struct
RT Z
;
};
int
*
foo
(
struct
ST
*
s
)
{
return
&
s
[
1
].
Z
.
B
[
5
][
13
];
}