brintos

brintos / llvm-project-archived public Read only

0
0
Text · 330 B · 39b2530 Raw
14 lines · c
1// Don't crash.2 3// RUN: cat %S/modified-header-crash.h > %t.h4// RUN: %clang_cc1 -DCAKE -x c-header %t.h -emit-pch -o %t5// RUN: echo 'int foobar;' >> %t.h6// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only7 8// FIXME: It is intended to suppress this on win32.9// REQUIRES: ansi-escape-sequences10 11void f(void) {12  foo = 3;13}14