xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2010-07-14-overconservative-align.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
2 // PR 5995
3 struct s {
4   int word;
5   struct {
6     int filler __attribute__ ((aligned (8)));
7   };
8 };
9 
func(struct s * s)10 void func (struct s *s)
11 {
12   // CHECK: load %struct.s**{{.*}}align 8
13   s->word = 0;
14 }
15