forked from OSchip/llvm-project
Fix modified-header-crash.c for read-only source trees
llvm-svn: 130359
This commit is contained in:
parent
45c30df303
commit
7e92e57b0b
|
@ -1,7 +1,8 @@
|
|||
// Don't crash.
|
||||
|
||||
// RUN: %clang_cc1 -DCAKE -x c-header %S/modified-header-crash.h -emit-pch -o %t
|
||||
// RUN: touch %S/modified-header-crash.h
|
||||
// RUN: cp %S/modified-header-crash.h %t.h
|
||||
// RUN: %clang_cc1 -DCAKE -x c-header %t.h -emit-pch -o %t
|
||||
// RUN: echo >> %t.h
|
||||
// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only
|
||||
|
||||
// FIXME: On Windows we don't detect that the header was modified ?
|
||||
|
|
Loading…
Reference in New Issue