aboutsummaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-11-28 04:57:00 +0000
committerTanya Lattner <tonic@nondot.org>2007-11-28 04:57:00 +0000
commit727842e9d76680a49616083fed0e812ae209aff8 (patch)
tree022ce83bac251c30f6439d30d8e2c2098e689943 /test/CFrontend
parentcada245d06959831b90f8c29f92e77beda4b71cb (diff)
Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests and fixed broken run lines.
XFAILed 3 arm regressions (will file bugs) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2006-09-21-IncompleteElementType.c2
-rw-r--r--test/CFrontend/2007-10-01-BuildArrayRef.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CFrontend/2006-09-21-IncompleteElementType.c b/test/CFrontend/2006-09-21-IncompleteElementType.c
index 64f7501a64..a5091821cb 100644
--- a/test/CFrontend/2006-09-21-IncompleteElementType.c
+++ b/test/CFrontend/2006-09-21-IncompleteElementType.c
@@ -1,3 +1,3 @@
-// RUN: %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
+// RUN: not %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
struct A X[(927 - 37) / sizeof(struct A)];
diff --git a/test/CFrontend/2007-10-01-BuildArrayRef.c b/test/CFrontend/2007-10-01-BuildArrayRef.c
index fb8ee3dc1e..e903755230 100644
--- a/test/CFrontend/2007-10-01-BuildArrayRef.c
+++ b/test/CFrontend/2007-10-01-BuildArrayRef.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
+// RUN: not %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
// PR 1603
int func()
{