blob: c74ce2239c22ddc3826763a317b726ee636a4b96 [file] [log] [blame]
Argyrios Kyrtzidis8d8f2c22011-04-25 22:23:56 +00001// Don't crash.
2
Matt Beaumont-Gayb9396252011-04-28 00:23:49 +00003// RUN: cp %S/modified-header-crash.h %t.h
4// RUN: %clang_cc1 -DCAKE -x c-header %t.h -emit-pch -o %t
5// RUN: echo >> %t.h
Argyrios Kyrtzidis8d8f2c22011-04-25 22:23:56 +00006// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only
7
Argyrios Kyrtzidis8d8f2c22011-04-25 22:23:56 +00008void f(void) {
9 foo = 3;
10}