Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenObjC / block-over-align.m
blob00230cf07ef4975c8d67fa9b61636435b663e059
1 // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin -emit-llvm -o /dev/null %s
3 typedef struct
5   int i;
6 } GAXBackboardState  __attribute__ ((aligned(32))); // minimum alignment is 32-byte boundary
8 @interface GAXSpringboard @end
10 @implementation GAXSpringboard
12  GAXBackboardState _reflectedBackboardState;
15 - (void) MyMethod
17  GAXBackboardState newBackboardState;
18  ^{
19     _reflectedBackboardState = newBackboardState;
20     return newBackboardState.i;
21   }();
23 @end