summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/functions.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-08 01:45:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-08 01:45:36 +0000
commit8b576979549184e73c6876ec4b494aacf7c87d2d (patch)
treead07dd8c1a82b98b0f6b6219f119b314ac3bc678 /clang/test/CodeGen/functions.c
parentfcd45392ad91e91f2860d55860eab1b4c1bc0f2f (diff)
downloadbcm5719-llvm-8b576979549184e73c6876ec4b494aacf7c87d2d.tar.gz
bcm5719-llvm-8b576979549184e73c6876ec4b494aacf7c87d2d.zip
Eliminate &&s in tests.
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
Diffstat (limited to 'clang/test/CodeGen/functions.c')
-rw-r--r--clang/test/CodeGen/functions.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/functions.c b/clang/test/CodeGen/functions.c
index dba29316e1a..1c53db41196 100644
--- a/clang/test/CodeGen/functions.c
+++ b/clang/test/CodeGen/functions.c
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o %t &&
+// RUN: clang-cc %s -emit-llvm -o %t
int g();
@@ -19,15 +19,15 @@ void test3(T f) {
int a(int);
int a() {return 1;}
-// RUN: grep 'define void @f0()' %t &&
+// RUN: grep 'define void @f0()' %t
void f0() {}
void f1();
-// RUN: grep 'call void @f1()' %t &&
+// RUN: grep 'call void @f1()' %t
void f2(void) {
f1(1, 2, 3);
}
-// RUN: grep 'define void @f1()' %t &&
+// RUN: grep 'define void @f1()' %t
void f1() {}
// RUN: grep 'define .* @f3' %t | not grep -F '...'
OpenPOWER on IntegriCloud