]> granicus.if.org Git - clang/commitdiff
clang/test/Index/code-completion-skip-bodies.cpp: Check stdout and stderr individuall...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Jan 2013 07:27:55 +0000 (07:27 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Jan 2013 07:27:55 +0000 (07:27 +0000)
XFAIL(s) are removed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172705 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/code-completion-skip-bodies.cpp

index 67b2196396299a26a93e15e36d9660aae8d1f10b..b7570b631a0c337e78575896dfe6f1c162b862d5 100644 (file)
@@ -11,10 +11,10 @@ void func(S *s) {
   s->x = 0;
 }
 
-// RUN: c-index-test -code-completion-at=%s:11:6 %s 2>&1 | FileCheck %s
-// CHECK-NOT: error: use of undeclared identifier 'undeclared1'
-// CHECK: error: use of undeclared identifier 'undeclared2'
-// CHECK: FieldDecl:{ResultType int}{TypedText x}
+// RUN: c-index-test -code-completion-at=%s:11:6 %s 2> %t.stderr | FileCheck %s --check-prefix=STDOUT
+// RUN: FileCheck --input-file=%t.stderr --check-prefix=STDERR %s
 
-// FIXME: Investigating
-// XFAIL: cygwin,mingw32,win32
+// STDOUT: FieldDecl:{ResultType int}{TypedText x}
+
+// STDERR-NOT: error: use of undeclared identifier 'undeclared1'
+// STDERR:     error: use of undeclared identifier 'undeclared2'