Skip to content

Commit 01a6606

Browse files
committed
[debug] show error message in test
1 parent 8b17949 commit 01a6606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/PCH/pch-dir.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// RUN: %clang -x c++ -std=c++11 -include %t.h -fsyntax-only %s 2> %t.cpp11log
1515
// RUN: FileCheck %s --check-prefix=CHECK-OPT-DIFF < %t.cpp11log
1616

17-
// RUN: %clang -include %t.h -fsyntax-only %s 2> %t.missinglog2
18-
// RUN: FileCheck --check-prefix=CHECK-OPT-DIFF %s < %t.missinglog2
17+
// RUN: %clang -include %t.h -fsyntax-only %s | \
18+
// RUN: FileCheck --check-prefix=CHECK-OPT-DIFF %s
1919
// RUN: not %clang -include %t.h -DFOO=foo -DBAR=bar -fsyntax-only %s 2> %t.missinglog2
2020
// RUN: FileCheck -check-prefix=CHECK-NO-SUITABLE %s < %t.missinglog2
2121

0 commit comments

Comments
 (0)