Author: gribozavr
Date: Thu Jan 24 17:34:51 2013
New Revision: 173391
URL: http://llvm.org/viewvc/llvm-project?rev=173391&view=rev
Log:
FileCheck'ize test
Modified:
cfe/trunk/test/CodeGen/parameter-passing.c
Modified: cfe/trunk/test/CodeGen/parameter-passing.c
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/parameter-passing.c?rev=173391&r1=173390&r2=173391&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/parameter-passing.c (original)
+++ cfe/trunk/test/CodeGen/parameter-passing.c Thu Jan 24 17:34:51 2013
@@ -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;
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits