From dfbd119c8bfd90565ee26110d636f135e761b443 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Thu, 24 Jan 2013 23:34:51 +0000 Subject: [PATCH] FileCheck'ize test llvm-svn: 173391 --- clang/test/CodeGen/parameter-passing.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/clang/test/CodeGen/parameter-passing.c b/clang/test/CodeGen/parameter-passing.c index e48815b..40610af 100644 --- a/clang/test/CodeGen/parameter-passing.c +++ b/clang/test/CodeGen/parameter-passing.c @@ -5,14 +5,10 @@ // We also check _Bool and empty structures, as these can have annoying // corner cases. -// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O3 -emit-llvm -o %t -// RUN: not grep '@g0' %t - -// RUN: %clang_cc1 %s -triple x86_64-unknown-unknown -O3 -emit-llvm -o %t -// RUN: not grep '@g0' %t - -// RUN: %clang_cc1 %s -triple powerpc-unknown-unknown -O3 -emit-llvm -o %t -// RUN: not grep '@g0' %t +// RUN: %clang_cc1 %s -triple i386-unknown-unknown -O3 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple x86_64-unknown-unknown -O3 -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -triple powerpc-unknown-unknown -O3 -emit-llvm -o - | FileCheck %s +// CHECK-NOT: @g0 typedef _Bool BoolTy; typedef int ScalarTy; -- 2.7.4