| 1 | // Don't crash. |
|---|---|
| 2 | |
| 3 | // RUN: cat %S/modified-header-crash.h > %t.h |
| 4 | // RUN: %clang_cc1 -DCAKE -x c-header %t.h -emit-pch -o %t |
| 5 | // RUN: echo 'int foobar;' >> %t.h |
| 6 | // RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only |
| 7 | |
| 8 | // FIXME: It is intended to suppress this on win32. |
| 9 | // REQUIRES: ansi-escape-sequences |
| 10 | |
| 11 | void f(void) { |
| 12 | foo = 3; |
| 13 | } |
| 14 |