forked from OSchip/llvm-project
15 lines
258 B
C
15 lines
258 B
C
|
// RUN: %llvmgcc %s -emit-llvm -m64 -S -o - | FileCheck %s
|
||
|
// PR 5995
|
||
|
struct s {
|
||
|
int word;
|
||
|
struct {
|
||
|
int filler __attribute__ ((aligned (8)));
|
||
|
};
|
||
|
};
|
||
|
|
||
|
void func (struct s *s)
|
||
|
{
|
||
|
// CHECK: load %struct.s** %s_addr, align 8
|
||
|
s->word = 0;
|
||
|
}
|