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 |
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 |