Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
CodeGen
/
2010-07-14-overconservative-align.c
blob: c3900468d25a34e46e9cdcae1f1b2ea50db77ddc [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
// PR 5995
struct
s
{
int
word
;
struct
{
int
filler __attribute__
((
aligned
(
8
)));
};
};
void
func
(
struct
s
*
s
)
{
// CHECK: load ptr, ptr{{.*}}align 8
s
->
word
=
0
;
}