summaryrefslogtreecommitdiff
path: root/test/CodeGen/packed-union.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/packed-union.c')
-rw-r--r--test/CodeGen/packed-union.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/packed-union.c b/test/CodeGen/packed-union.c
index 31ce614407818..cb4999950df18 100644
--- a/test/CodeGen/packed-union.c
+++ b/test/CodeGen/packed-union.c
@@ -1,11 +1,11 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o %t
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s
typedef struct _attrs {
unsigned file_attributes;
unsigned char filename_length;
} __attribute__((__packed__)) attrs;
-// RUN: grep "union._attr_union = type <{ i32, i8 }>" %t
+// CHECK: %union._attr_union = type <{ i32, i8 }>
typedef union _attr_union {
attrs file_attrs;
unsigned owner_id;