Add some delay between PCH creation and modifying one of the headers it depends on, which will---hopefully make this test predictably pass on Windows

llvm-svn: 139327
This commit is contained in:
Douglas Gregor 2011-09-08 22:32:33 +00:00
parent 042ce8e9d8
commit 8d9c56bb59
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
// RUN: echo > %t.dir/header2.h
// RUN: cp %s %t.dir/t.c
// RUN: %clang_cc1 -x c-header %t.dir/header1.h -emit-pch -o %t.pch
// RUN: sleep 2
// RUN: echo >> %t.dir/header2.h
// RUN: %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s