llvm-for-llvmta/tools/clang/test/Index/werror.c

13 lines
219 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
inline int *get_int_ptr(float *fp) {
return fp;
}
#ifdef FATAL
void fatal(int);
void fatal(float);
#endif
// RUN: c-index-test -write-pch %t.pch -Werror %s
// RUN: c-index-test -write-pch %t.pch -DFATAL -Werror %s