diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-08 01:45:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-08 01:45:36 +0000 |
commit | 4fcfde4d5c8f25e40720972a5543d538a0dcb220 (patch) | |
tree | 9d74944cc583259bb7d987d3a143214d6759c145 /test/CodeGen/alias.c | |
parent | 1e63492a1408c0152251cc9e77cf42b7fd53169f (diff) |
Eliminate &&s in tests.
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86430 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/alias.c')
-rw-r--r-- | test/CodeGen/alias.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/alias.c b/test/CodeGen/alias.c index b0c71fbdfc..f8836e6f60 100644 --- a/test/CodeGen/alias.c +++ b/test/CodeGen/alias.c @@ -1,8 +1,8 @@ -// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s && -// RUN: grep '@g0 = common global i32 0' %t && -// RUN: grep '@f1 = alias void ()\* @f0' %t && -// RUN: grep '@g1 = alias i32\* @g0' %t && -// RUN: grep 'define void @f0() nounwind {' %t && +// RUN: clang-cc -triple i386-pc-linux-gnu -emit-llvm -o %t %s +// RUN: grep '@g0 = common global i32 0' %t +// RUN: grep '@f1 = alias void ()\* @f0' %t +// RUN: grep '@g1 = alias i32\* @g0' %t +// RUN: grep 'define void @f0() nounwind {' %t void f0(void) { } extern void f1(void); @@ -14,7 +14,7 @@ extern int g1 __attribute((alias("g0"))); // Make sure that aliases cause referenced values to be emitted. // PR3200 -// RUN: grep 'define internal i32 @foo1()' %t && +// RUN: grep 'define internal i32 @foo1()' %t static inline int foo1() { return 0; } int foo() __attribute__((alias("foo1"))); |