mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 13:36:08 +00:00

"win32" is never defined as a lit feature, AFAICT, and Windows bots appear to be running this just fine. Part of the project to eliminate special handling for triples in lit expressions.
12 lines
447 B
C
12 lines
447 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
|