2010-03-25 05:04:06 +08:00
|
|
|
// RUN: c-index-test -code-completion-at=%s:6:2 -remap-file="%s;%S/Inputs/remap-complete-to.c" %s 2> %t.err | FileCheck %s
|
|
|
|
// RUN: FileCheck -check-prefix=CHECK-DIAGS %s < %t.err
|
2009-12-03 19:12:50 +08:00
|
|
|
// XFAIL: win32
|
2009-12-02 17:21:34 +08:00
|
|
|
|
2010-03-25 05:04:06 +08:00
|
|
|
// CHECK: FunctionDecl:{ResultType int}{TypedText f0}{LeftParen (}
|
2009-12-02 17:21:34 +08:00
|
|
|
void f() { }
|
2010-03-25 05:04:06 +08:00
|
|
|
|
|
|
|
// CHECK-DIAGS: remap-complete.c:2:19
|