xref: /minix3/external/bsd/llvm/dist/clang/test/Index/werror.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
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