]> granicus.if.org Git - clang/commitdiff
Add some delay between PCH creation and modifying one of the headers it depends on...
authorDouglas Gregor <dgregor@apple.com>
Thu, 8 Sep 2011 22:32:33 +0000 (22:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 8 Sep 2011 22:32:33 +0000 (22:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139327 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/modified-header-error.c

index 6335fb1b45395ed8bc3886f3d155735ce5fdbbb5..de85fe7c48b2ae71c80959ad07bcfa8224a59358 100644 (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