commit | 9058f90e31436826164529d2942a0cb7c85fd1e6 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Aug 27 23:22:19 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Aug 27 23:22:19 2009 +0000 |
tree | 3bc0607db9cee394120e317747f6fbac0a486948 | |
parent | e8d6d2b9a2c5d3f0e7e0f88f54f1711bbc6c6f78 [diff] [blame] |
convert to filecheck and force a triple so that this passes on big endian hosts. Fixes PR4792 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80301 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c b/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c index 19bf9a2..348ea75 100644 --- a/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c +++ b/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
@@ -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