Work around FileCheck -NOT restriction.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82417 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Driver/ast.c b/test/Driver/ast.c
index b5d342c..814b597 100644
--- a/test/Driver/ast.c
+++ b/test/Driver/ast.c
@@ -1,4 +1,5 @@
// RUN: clang -ccc-host-triple i386-unknown-unknown -ccc-print-phases -emit-ast %s 2> %t &&
+// RUN: echo 'END' >> %t &&
// RUN: FileCheck -check-prefix EMIT-AST-PHASES -input-file %t %s &&
// EMIT-AST-PHASES: 0: input,
@@ -6,9 +7,11 @@
// EMIT-AST-PHASES: 1: preprocessor, {0}, cpp-output
// EMIT-AST-PHASES: 2: compiler, {1}, ast
// EMIT-AST-PHASES-NOT: 3:
+// EMIT-AST-PHASES: END
// RUN: touch %t.ast &&
// RUN: clang -ccc-host-triple i386-unknown-unknown -ccc-print-phases -c %t.ast 2> %t &&
+// RUN: echo 'END' >> %t &&
// RUN: FileCheck -check-prefix COMPILE-AST-PHASES -input-file %t %s
// COMPILE-AST-PHASES: 0: input,
@@ -16,6 +19,7 @@
// COMPILE-AST-PHASES: 1: compiler, {0}, assembler
// COMPILE-AST-PHASES: 2: assembler, {1}, object
// COMPILE-AST-PHASES-NOT: 3:
+// COMPILE-AST-PHASES: END
// FIXME: There is a problem with compiling AST's in that the input language is
// not availabe for use by other tools (for example, to automatically add