[llvm-branch-commits] [cfe-branch] r80556 - /cfe/branches/release_26/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
Tanya Lattner
tonic at nondot.org
Sun Aug 30 23:38:31 PDT 2009
Author: tbrethou
Date: Mon Aug 31 01:38:30 2009
New Revision: 80556
URL: http://llvm.org/viewvc/llvm-project?rev=80556&view=rev
Log:
Merge from mainline
convert to filecheck and force a triple so that this passes on big
endian hosts. Fixes PR4792
Modified:
cfe/branches/release_26/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
Modified: cfe/branches/release_26/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_26/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c?rev=80556&r1=80555&r2=80556&view=diff
==============================================================================
--- cfe/branches/release_26/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c (original)
+++ cfe/branches/release_26/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c Mon Aug 31 01:38:30 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 llvm-branch-commits
mailing list