Douglas Gregor | 85bea97 | 2011-07-06 17:40:26 +0000 | [diff] [blame] | 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 | |||||
Douglas Gregor | 85bea97 | 2011-07-06 17:40:26 +0000 | [diff] [blame] | 10 | // RUN: c-index-test -write-pch %t.pch -Werror %s |
Argyrios Kyrtzidis | bef35c9 | 2012-03-07 01:51:17 +0000 | [diff] [blame^] | 11 | // RUN: c-index-test -write-pch %t.pch -DFATAL -Werror %s |
Douglas Gregor | 85bea97 | 2011-07-06 17:40:26 +0000 | [diff] [blame] | 12 |