Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 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 | |||||
10 | void func (struct s *s) | ||||
11 | { | ||||
Eric Christopher | 2924da3 | 2011-07-26 22:43:37 +0000 | [diff] [blame] | 12 | // CHECK: load %struct.s**{{.*}}align 8 |
Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 13 | s->word = 0; |
14 | } |