blob: c4a9caac66661a4a80c4215bdcbf9c731251e5a3 [file] [log] [blame]
Duncan Sandsbb8f5902010-11-25 21:24:35 +00001// RUN: %llvmgcc %s -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}