• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

get_int_ptr(float * fp)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 // CHECK-FATAL: translation errors
11 
12 // RUN: c-index-test -write-pch %t.pch -Werror %s
13 // RUN: not c-index-test -write-pch %t.pch -DFATAL -Werror %s 2>%t.err
14 // RUN: FileCheck -check-prefix=CHECK-FATAL %s < %t.err
15 
16