tests: Make FileCheck version check that preamble isn't longer than we expected.

llvm-svn: 109077
This commit is contained in:
Daniel Dunbar 2010-07-22 02:22:24 +00:00
parent 3fabe07d4c
commit 15d8830ea6
1 changed files with 2 additions and 3 deletions

View File

@ -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.