1*67e74705SXin Li // RUN: %clang_cc1 %s -triple x86_64-apple-darwin -emit-llvm -o - | FileCheck %s 2*67e74705SXin Li // PR 5995 3*67e74705SXin Li struct s { 4*67e74705SXin Li int word; 5*67e74705SXin Li struct { 6*67e74705SXin Li int filler __attribute__ ((aligned (8))); 7*67e74705SXin Li }; 8*67e74705SXin Li }; 9*67e74705SXin Li func(struct s * s)10*67e74705SXin Livoid func (struct s *s) 11*67e74705SXin Li { 12*67e74705SXin Li // CHECK: load %struct.s*, %struct.s**{{.*}}align 8 13*67e74705SXin Li s->word = 0; 14*67e74705SXin Li } 15