r197267 - Convert test to FileCheck

Rafael Espindola rafael.espindola at gmail.com
Fri Dec 13 11:44:40 PST 2013


Author: rafael
Date: Fri Dec 13 13:44:40 2013
New Revision: 197267

URL: http://llvm.org/viewvc/llvm-project?rev=197267&view=rev
Log:
Convert test to FileCheck

Modified:
    cfe/trunk/test/CodeGen/bool-init.c

Modified: cfe/trunk/test/CodeGen/bool-init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/bool-init.c?rev=197267&r1=197266&r2=197267&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/bool-init.c (original)
+++ cfe/trunk/test/CodeGen/bool-init.c Fri Dec 13 13:44:40 2013
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -emit-llvm < %s | grep i1 | count 1
+// RUN: %clang_cc1 -triple x86_64-pc-linux -emit-llvm < %s | FileCheck %s
 
 // Check that the type of this global isn't i1
+// CHECK: @test = global i8 1
 _Bool test = &test;





More information about the cfe-commits mailing list