summaryrefslogtreecommitdiffstats
path: root/clang/test/Misc/caret-diags-macros.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/Misc/caret-diags-macros.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/Misc/caret-diags-macros.c')
-rw-r--r--clang/test/Misc/caret-diags-macros.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/test/Misc/caret-diags-macros.c b/clang/test/Misc/caret-diags-macros.c
index 58d293fb043..fd3c6170ec3 100644
--- a/clang/test/Misc/caret-diags-macros.c
+++ b/clang/test/Misc/caret-diags-macros.c
@@ -1,22 +1,22 @@
-// RUN: clang-cc -fsyntax-only %s > %t 2>&1 &&
+// RUN: clang-cc -fsyntax-only %s > %t 2>&1
#define M1(x) x
-// RUN: grep ":6:12: note: instantiated from:" %t &&
+// RUN: grep ":6:12: note: instantiated from:" %t
#define M2 1;
void foo() {
- // RUN: grep ":10:2: warning: expression result unused" %t &&
+ // RUN: grep ":10:2: warning: expression result unused" %t
M1(
- // RUN: grep ":12:5: note: instantiated from:" %t &&
+ // RUN: grep ":12:5: note: instantiated from:" %t
M2)
}
-// RUN: grep ":16:11: note: instantiated from:" %t &&
+// RUN: grep ":16:11: note: instantiated from:" %t
#define A 1
-// RUN: grep ":18:11: note: instantiated from:" %t &&
+// RUN: grep ":18:11: note: instantiated from:" %t
#define B A
-// RUN: grep ":20:11: note: instantiated from:" %t &&
+// RUN: grep ":20:11: note: instantiated from:" %t
#define C B
void bar() {
OpenPOWER on IntegriCloud