diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-27 23:22:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-27 23:22:19 +0000 |
commit | 9058f90e31436826164529d2942a0cb7c85fd1e6 (patch) | |
tree | 3bc0607db9cee394120e317747f6fbac0a486948 /test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c | |
parent | e8d6d2b9a2c5d3f0e7e0f88f54f1711bbc6c6f78 (diff) |
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
Diffstat (limited to 'test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c')
-rw-r--r-- | test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 19bf9a2b07..348ea75ea2 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 @@ struct et7 { 52, }; +// CHECK: @yv7 = global +// CHECK: i8 52,
\ No newline at end of file |