1 // RUN: c-index-test -test-load-source all %s 2>&1 | FileCheck %s
3 #include "fixit-sys-header.h"
4 #include "fixit-user-header.h"
6 int main(int argc
, char const *argv
[])
10 func_in_sys_header(str
, str
+ 10);
11 // CHECK: Number FIX-ITs = 0
12 // CHECK-NEXT: candidate function not viable: no known conversion from 'char *' to 'unsigned long' for 2nd argument; dereference the argument with *
13 // CHECK-NEXT: Number FIX-ITs = 0
15 func_in_user_header(str
, str
+ 10);
16 // CHECK: Number FIX-ITs = 0
17 // CHECK-NEXT: candidate function not viable: no known conversion from 'char *' to 'unsigned long' for 2nd argument; dereference the argument with *
18 // CHECK-NEXT: Number FIX-ITs = 2