]> granicus.if.org Git - clang/commitdiff
Convert test to FileCheck
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 13 Dec 2013 19:44:40 +0000 (19:44 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 13 Dec 2013 19:44:40 +0000 (19:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197267 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/bool-init.c

index 1a8f127b868f55b7a70624a3f5fdd18ea95cd141..09b4a87e63dc7f6234101a99513fa3029da47df9 100644 (file)
@@ -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;