summaryrefslogtreecommitdiffstats
path: root/test/Index/werror.c
blob: 98b602a170c00033e15c26aa389c22867e80c719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
inline int *get_int_ptr(float *fp) {
  return fp;
}

#ifdef FATAL
void fatal(int);
void fatal(float);
#endif

// RUN: c-index-test -write-pch %t.pch -Werror %s
// RUN: c-index-test -write-pch %t.pch -DFATAL -Werror %s