1*5e9401c2SChris Warner // RUN: rm -rf %/t 2*5e9401c2SChris Warner // RUN: mkdir %/t 3*5e9401c2SChris Warner // RUN: cp %/S/Inputs/file.script %/t/file.script 4*5e9401c2SChris Warner // RUN: cp %/S/Inputs/runtime_file.script %/t/runtime_file.script 5*5e9401c2SChris Warner // Need to embed the correct temp path in the actual JSON-RPC requests. 6*5e9401c2SChris Warner // RUN: sed -e "s|DIRECTORY|%/t|" %/t/file.script > %/t/file.script.temp 7*5e9401c2SChris Warner 8*5e9401c2SChris Warner // RUN: clang-query -c 'file %/t/file.script.temp' %s -- | FileCheck %s 9*5e9401c2SChris Warner 10*5e9401c2SChris Warner // CHECK: file-query.c:11:1: note: "f" binds here bar(void)11*5e9401c2SChris Warnervoid bar(void) {} 12*5e9401c2SChris Warner 13*5e9401c2SChris Warner // CHECK: file-query.c:14:1: note: "v" binds here 14*5e9401c2SChris Warner int baz{1}; 15