xref: /minix3/external/bsd/llvm/dist/clang/test/Index/werror.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)

get_int_ptr(float * fp)1 inline int *get_int_ptr(float *fp) {
2   return fp;
3 }
4 
5 #ifdef FATAL
6 void fatal(int);
7 void fatal(float);
8 #endif
9 
10 // RUN: c-index-test -write-pch %t.pch -Werror %s
11 // RUN: c-index-test -write-pch %t.pch -DFATAL -Werror %s
12 
13