blob: 2747040ac0313941345fbfeddc93ce9de07fd859 [file] [log] [blame]
Stephen Hines176edba2014-12-01 14:53:08 -08001// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -emit-llvm -o /dev/null %s
2// rdar://17878679
3
4typedef struct
5{
6 int i;
7} GAXBackboardState __attribute__ ((aligned(32))); // minimum alignment is 32-byte boundary
8
9@interface GAXSpringboard @end
10
11@implementation GAXSpringboard
12{
13 GAXBackboardState _reflectedBackboardState;
14}
15
16- (void) MyMethod
17{
18 GAXBackboardState newBackboardState;
19 ^{
20 _reflectedBackboardState = newBackboardState;
21 return newBackboardState.i;
22 }();
23}
24@end
25