llvm-for-llvmta/tools/clang/test/Index/werror.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

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