]> granicus.if.org Git - clang/commitdiff
convert to filecheck and force a triple so that this passes on big
authorChris Lattner <sabre@nondot.org>
Thu, 27 Aug 2009 23:22:19 +0000 (23:22 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 Aug 2009 23:22:19 +0000 (23:22 +0000)
endian hosts.  Fixes PR4792

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80301 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c

index 19bf9a2b078e6dd5ddfaba89c79ef1d30682f919..348ea75ea29561f1205b197a5e86ef8b23b8a7a6 100644 (file)
@@ -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