1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-02 00:42:52 +01:00
llvm-mirror/test/FrontendC/2010-07-14-overconservative-align.c
Dale Johannesen 6c1d01b37c Tests for llvm-gcc commit 108360.
llvm-svn: 108362
2010-07-14 21:22:35 +00:00

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;
}