blob: cb403f0184ff166238a9755b76c40932858e8b79 [file] [log] [blame]
Argyrios Kyrtzidis8d8f2c22011-04-25 22:23:56 +00001// Don't crash.
2
3// RUN: %clang_cc1 -DCAKE -x c-header %S/modified-header-crash.h -emit-pch -o %t
4// RUN: touch %S/modified-header-crash.h
5// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only
6
Argyrios Kyrtzidis0cd7be42011-04-26 16:49:25 +00007// FIXME: On Windows we don't detect that the header was modified ?
8// XFAIL: win32
9
Argyrios Kyrtzidis8d8f2c22011-04-25 22:23:56 +000010void f(void) {
11 foo = 3;
12}