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

13 lines
219 B
C

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