mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-16 18:46:05 +00:00

Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. llvm-svn: 188174
18 lines
518 B
C
18 lines
518 B
C
// RUN: %clang_cc1 -triple i386-apple-darwin9 %s -emit-llvm -o - | FileCheck -check-prefix CHECK-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 CHECK-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;
|