brintos

brintos / llvm-project-archived public Read only

0
0
Text · 447 B · a6b0475 Raw
12 lines · c
1// RUN: mkdir -p %t.dir2// RUN: echo '#include "header2.h"' > %t.dir/header1.h3// RUN: echo > %t.dir/header2.h4// RUN: cp %s %t.dir/t.c5// RUN: %clang_cc1 -x c-header %t.dir/header1.h -emit-pch -o %t.pch6// RUN: echo >> %t.dir/header2.h7// RUN: not %clang_cc1 %t.dir/t.c -include-pch %t.pch -fsyntax-only 2>&1 | FileCheck %s8 9#include "header2.h"10 11// CHECK: fatal error: file {{.*}} has been modified since the precompiled header {{.*}} was built12