[cfe-commits] r80301 - /cfe/trunk/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
Chris Lattner
sabre at nondot.org
Thu Aug 27 16:22:19 PDT 2009
Author: lattner
Date: Thu Aug 27 18:22:19 2009
New Revision: 80301
URL: http://llvm.org/viewvc/llvm-project?rev=80301&view=rev
Log:
convert to filecheck and force a triple so that this passes on big
endian hosts. Fixes PR4792
Modified:
cfe/trunk/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
Modified: cfe/trunk/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c?rev=80301&r1=80300&r2=80301&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c (original)
+++ cfe/trunk/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c Thu Aug 27 18:22:19 2009
@@ -1,5 +1,4 @@
-// RUN: clang-cc --emit-llvm -o %t %s &&
-// RUN: grep "i8 52" %t | count 1
+// RUN: clang-cc -triple=i686-apple-darwin9 --emit-llvm -o - %s | FileCheck %s
struct et7 {
float lv7[0];
@@ -9,3 +8,5 @@
52,
};
+// CHECK: @yv7 = global
+// CHECK: i8 52,
\ No newline at end of file
More information about the cfe-commits
mailing list