brintos

brintos / llvm-project-archived public Read only

0
0
Text · 490 B · c2e34f8 Raw
17 lines · c
1// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X32 %s2// CHECK-X32: %union.command = type <{ ptr, [2 x i8] }>3 4// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-X64 %s5// CHECK-X64: %union.command = type <{ ptr, [2 x i8] }>6 7#pragma pack(push, 2)8typedef union command {9  void *windowRef;10  struct menu {11    void *menuRef;12    unsigned char menuItemIndex;13  } menu;14} command;15 16command c;17