blob: 5c8c05645178d71a78942c219b8d1230910a9faf [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s
2// PR 5995
3struct s {
4 int word;
5 struct {
6 int filler __attribute__ ((aligned (8)));
7 };
8};
9
10void func (struct s *s)
11{
Eric Christopher2924da32011-07-26 22:43:37 +000012 // CHECK: load %struct.s**{{.*}}align 8
Eric Christopher3883e662011-07-26 22:17:02 +000013 s->word = 0;
14}