diff options
author | Tanya Lattner <tonic@nondot.org> | 2009-08-31 06:38:30 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2009-08-31 06:38:30 +0000 |
commit | fb8d504241b9c6be59b9325e4d748f19de6ed0f5 (patch) | |
tree | 607f7c4a076b0fcacb6d8f6e53e801c3a3846beb | |
parent | 2093f2a8c425f76fd7fc7db4ac13746d884dcd25 (diff) |
Merge from mainline
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/branches/release_26@80556 91177308-0d34-0410-b5e6-96231b3b80d8
-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 |