mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 00:36:05 +00:00

This reverts r371497 (git commit 3d7e9ab7b9f8c53aa41420c54970f0fb421004a2) Reorder `not` with `env` in these two tests so they pass: Driver/rewrite-map-in-diagnostics.c Index/crash-recovery-modules.m. This will not be necessary after D66531 lands. llvm-svn: 371552
15 lines
520 B
C
15 lines
520 B
C
// RUN: mkdir -p %t.dir
|
|
// RUN: echo '#include "header2.h"' > %t.dir/header1.h
|
|
// 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: echo >> %t.dir/header2.h
|
|
// RUN: not %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s
|
|
|
|
#include "header2.h"
|
|
|
|
// CHECK: fatal error: file {{.*}} has been modified since the precompiled header {{.*}} was built
|
|
|
|
// FIXME: Flaky on Windows, timestamp resolution?
|
|
// UNSUPPORTED: win32
|