blob: 1744ba84185d369215752c1c78937ae3307975ad [file] [log] [blame]
Duncan Sands7aed4ec2010-09-09 12:57:29 +00001// RUN: %llvmgcc %s -emit-llvm -S -o - | FileCheck %s
Dale Johannesenbe876e32010-07-14 21:22:35 +00002// PR 5995
3struct s {
4 int word;
5 struct {
6 int filler __attribute__ ((aligned (8)));
7 };
8};
9
10void func (struct s *s)
11{
Duncan Sands7aed4ec2010-09-09 12:57:29 +000012// CHECK: load %struct.s** %s_addr, align {{[48]}}
Dale Johannesenbe876e32010-07-14 21:22:35 +000013 s->word = 0;
14}