diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-06-12 12:40:02 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-06-12 12:40:02 +0000 |
commit | c577a0e9bf5812719d08c002a57b263681938aea (patch) | |
tree | a893984f97f9f5ae5f0b5e7bea9597d9dc46d851 /test/CodeGen/builtin-count-zeros.c | |
parent | 68617fd6b322c6335dc0d72d828b7a2338b52fad (diff) |
Multiple tests in a single test file must be linked with '&&'.
Otherwise, failing tests other than the last one will not be reported.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/builtin-count-zeros.c')
-rw-r--r-- | test/CodeGen/builtin-count-zeros.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/builtin-count-zeros.c b/test/CodeGen/builtin-count-zeros.c index 26b139aa8c..5453cb1d89 100644 --- a/test/CodeGen/builtin-count-zeros.c +++ b/test/CodeGen/builtin-count-zeros.c @@ -1,4 +1,4 @@ -// RUN: clang -emit-llvm %s -o - | grep 'cttz' | count 2 +// RUN: clang -emit-llvm %s -o - | grep 'cttz' | count 2 && // RUN: clang -emit-llvm %s -o - | grep 'ctlz' | count 2 int a(int a) {return __builtin_ctz(a) + __builtin_clz(a);} |