2011-04-26 06:23:56 +08:00
|
|
|
// Don't crash.
|
|
|
|
|
2011-04-28 08:23:49 +08:00
|
|
|
// 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
|
2011-04-26 06:23:56 +08:00
|
|
|
// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only
|
|
|
|
|
|
|
|
void f(void) {
|
|
|
|
foo = 3;
|
|
|
|
}
|