summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/bool-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/bool-init.c')
-rw-r--r--clang/test/CodeGen/bool-init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGen/bool-init.c b/clang/test/CodeGen/bool-init.c
index 1a8f127b868..09b4a87e63d 100644
--- a/clang/test/CodeGen/bool-init.c
+++ b/clang/test/CodeGen/bool-init.c
@@ -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;
OpenPOWER on IntegriCloud