Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / pragma-pack-3.c
blobc2e34f80b0f57c44a5b7636e25b3d6fd2d258188
1 // RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X32 %s
2 // CHECK-X32: %union.command = type <{ ptr, [2 x i8] }>
4 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s
5 // CHECK-X64: %union.command = type <{ ptr, [2 x i8] }>
7 #pragma pack(push, 2)
8 typedef union command {
9 void *windowRef;
10 struct menu {
11 void *menuRef;
12 unsigned char menuItemIndex;
13 } menu;
14 } command;
16 command c;