blob: d46f97636d77990ef876dd59f268153b553e3078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Don't crash.
// 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 ?
// XFAIL: win32
void f(void) {
foo = 3;
}
|