13 lines · c
1inline int *get_int_ptr(float *fp) {2 return fp;3}4 5#ifdef FATAL6void fatal(int);7void fatal(float);8#endif9 10// RUN: c-index-test -write-pch %t.pch -Werror %s11// RUN: c-index-test -write-pch %t.pch -DFATAL -Werror %s12 13 1inline int *get_int_ptr(float *fp) {2 return fp;3}4 5#ifdef FATAL6void fatal(int);7void fatal(float);8#endif9 10// RUN: c-index-test -write-pch %t.pch -Werror %s11// RUN: c-index-test -write-pch %t.pch -DFATAL -Werror %s12 13