summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PR4611-bitfield-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PR4611-bitfield-layout.c')
-rw-r--r--test/CodeGen/PR4611-bitfield-layout.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/PR4611-bitfield-layout.c b/test/CodeGen/PR4611-bitfield-layout.c
index 3975ed0..a383f34 100644
--- a/test/CodeGen/PR4611-bitfield-layout.c
+++ b/test/CodeGen/PR4611-bitfield-layout.c
@@ -1,5 +1,6 @@
-// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t
-// RUN: grep "struct.object_entry = type { i8, \[2 x i8\], i8 }" %t
+// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
+//
+// CHECK: struct.object_entry = type { [4 x i8] }
struct object_entry {
unsigned int type:3, pack_id:16, depth:13;
OpenPOWER on IntegriCloud