diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-17 07:27:55 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-01-17 07:27:55 +0000 |
commit | 98154a917f1b24a0cd8369f217e3a3976a5dfa2a (patch) | |
tree | 00195f49385df611fdf11a3646f2f6013ec9dfca /clang/test/Index/code-completion-skip-bodies.cpp | |
parent | c7e6feee42f40da6d0fe14a77eaa8342926e4301 (diff) | |
download | bcm5719-llvm-98154a917f1b24a0cd8369f217e3a3976a5dfa2a.tar.gz bcm5719-llvm-98154a917f1b24a0cd8369f217e3a3976a5dfa2a.zip |
clang/test/Index/code-completion-skip-bodies.cpp: Check stdout and stderr individually, rather than mixed output of stdout and stderr with 2>&1.
XFAIL(s) are removed.
llvm-svn: 172705
Diffstat (limited to 'clang/test/Index/code-completion-skip-bodies.cpp')
-rw-r--r-- | clang/test/Index/code-completion-skip-bodies.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Index/code-completion-skip-bodies.cpp b/clang/test/Index/code-completion-skip-bodies.cpp index 67b21963962..b7570b631a0 100644 --- a/clang/test/Index/code-completion-skip-bodies.cpp +++ b/clang/test/Index/code-completion-skip-bodies.cpp @@ -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' |