summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/call.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeCompletion/call.cpp')
-rw-r--r--clang/test/CodeCompletion/call.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/clang/test/CodeCompletion/call.cpp b/clang/test/CodeCompletion/call.cpp
index dd90083874c..9a6f578abc9 100644
--- a/clang/test/CodeCompletion/call.cpp
+++ b/clang/test/CodeCompletion/call.cpp
@@ -10,7 +10,7 @@ namespace N {
operator int() const;
};
- void f(Y y, int);
+ void f(Y y, int ZZ);
}
typedef N::Y Y;
void f();
@@ -18,12 +18,11 @@ void f();
void test() {
f(Y(), 0, 0);
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:9 %s -o - | FileCheck -check-prefix=CC1 %s &&
- // CHECK-CC1: f : 0 : f(<#struct N::Y y#>, <#int#>)
- // CHECK-NEXT-CC1: f : 0 : f(<#int i#>, <#int j#>, <#int k#>)
- // CHECK-NEXT-CC1: f : 0 : f(<#float x#>, <#float y#>)
+ // CHECK-CC1: int ZZ
+ // CHECK-NEXT-CC1: int j
+ // CHECK-NEXT-CC1: float y
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:19:13 %s -o - | FileCheck -check-prefix=CC2 %s &&
- // CHECK-NOT-CC2: f : 0 : f(<#struct N::Y y#>, <#int#>)
- // CHECK-CC2: f : 0 : f(<#int i#>, <#int j#>, <#int k#>)
- // CHECK-NEXT-CC2: f : 0 : f(<#float x#>, <#float y#>)
+ // FIXME: two ellipses are showing up when they shouldn't
+ // CHECK-CC2: int k
// RUN: true
}
OpenPOWER on IntegriCloud