You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
327 B
14 lines
327 B
4 months ago
|
// 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 'int foobar;' >> %t.h
|
||
|
// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only
|
||
|
|
||
|
// FIXME: It is intended to suppress this on win32.
|
||
|
// REQUIRES: ansi-escape-sequences
|
||
|
|
||
|
void f(void) {
|
||
|
foo = 3;
|
||
|
}
|