]> granicus.if.org Git - clang/commitdiff
Fix the setup of CodeGen/bitfield.c test.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 10 Jun 2008 15:48:26 +0000 (15:48 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 10 Jun 2008 15:48:26 +0000 (15:48 +0000)
Due to the broken setup it was passing the test while it should have failed.

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

test/CodeGen/bitfield.c

index 740c41c5369e4ce0ebc2869b7775eb36b8d620c1..5f609b47b7c2730bd088661cb2e1befb346cd19b 100644 (file)
@@ -2,9 +2,9 @@
 // RUN: grep "shl i32 %tmp, 19" %t1 &&
 // RUN: grep "ashr i32 %tmp1, 19" %t1 &&
 // RUN: grep "shl i16 %tmp4, 1" %t1 &&
-// RUN: grep "lshr i16 %tmp5, 9" %t1
-// RUN: grep "and i32 %tmp, -8192" %t1
-// RUN: grep "and i16 %tmp5, -32513" %t1
+// RUN: grep "lshr i16 %tmp5, 9" %t1 &&
+// RUN: grep "and i32 %tmp, -8192" %t1 &&
+// RUN: grep "and i16 %tmp5, -32513" %t1 &&
 // RUN: grep "getelementptr (i32\* bitcast (.struct.STestB2\* @stb2 to i32\*), i32 1)" %t1
 // Test bitfield access