1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
18 lines
506 B
C
18 lines
506 B
C
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X32 %s
|
|
// CHECK-X32: %union.command = type <{ i8*, [2 x i8] }>
|
|
|
|
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix X64 %s
|
|
// CHECK-X64: %union.command = type <{ i8*, [2 x i8] }>
|
|
|
|
// <rdar://problem/7184250>
|
|
#pragma pack(push, 2)
|
|
typedef union command {
|
|
void *windowRef;
|
|
struct menu {
|
|
void *menuRef;
|
|
unsigned char menuItemIndex;
|
|
} menu;
|
|
} command;
|
|
|
|
command c;
|