aboutsummaryrefslogtreecommitdiff
path: root/test/Lexer
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-22 02:22:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-22 02:22:24 +0000
commit9a570b45480ce068ff243801b72ea605fe7c9fd3 (patch)
tree60a3a60076b1ad397a9db3611f4ce35dcd0b2319 /test/Lexer
parentf5438e3462f37d7c58f847b594b4b3ab84085d67 (diff)
tests: Make FileCheck version check that preamble isn't longer than we expected.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r--test/Lexer/preamble.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Lexer/preamble.c b/test/Lexer/preamble.c
index 68b1d21ef0..69cdbb7f24 100644
--- a/test/Lexer/preamble.c
+++ b/test/Lexer/preamble.c
@@ -8,7 +8,6 @@
#endif
#pragma unknown
#endif
-
#ifdef WIBBLE
#include "honk"
#else
@@ -21,6 +20,7 @@ int foo();
// Inputs/preamble.txt, since we diff against it.
// RUN: %clang_cc1 -print-preamble %s > %t
+// RUN: echo END. >> %t
// RUN: FileCheck < %t %s
// XFAIL: win32
@@ -34,5 +34,4 @@ int foo();
// CHECK-NEXT: #endif
// CHECK-NEXT: #pragma unknown
// CHECK-NEXT: #endif
-
-
+// CHECK-NEXT: END.