From: Dmitri Gribenko Date: Thu, 24 Jan 2013 23:34:51 +0000 (+0000) Subject: FileCheck'ize test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=057519de2ffd389b603c2da7c312a6ca39de1ade;p=clang FileCheck'ize test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173391 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/parameter-passing.c b/test/CodeGen/parameter-passing.c index e48815b966..40610af9d7 100644 --- a/test/CodeGen/parameter-passing.c +++ b/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;