xref: /llvm-project/clang/test/Index/werror.c (revision 4a280ff48fd6194d5fe06df21b057d30af93a386)

get_int_ptr(float * fp)18a60bbe1SDouglas Gregor inline int *get_int_ptr(float *fp) {
28a60bbe1SDouglas Gregor   return fp;
38a60bbe1SDouglas Gregor }
48a60bbe1SDouglas Gregor 
58a60bbe1SDouglas Gregor #ifdef FATAL
68a60bbe1SDouglas Gregor void fatal(int);
78a60bbe1SDouglas Gregor void fatal(float);
88a60bbe1SDouglas Gregor #endif
98a60bbe1SDouglas Gregor 
108a60bbe1SDouglas Gregor // RUN: c-index-test -write-pch %t.pch -Werror %s
11*4a280ff4SArgyrios Kyrtzidis // RUN: c-index-test -write-pch %t.pch -DFATAL -Werror %s
128a60bbe1SDouglas Gregor 
13