diff options
Diffstat (limited to 'test/CodeCompletion/templates.cpp')
-rw-r--r-- | test/CodeCompletion/templates.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeCompletion/templates.cpp b/test/CodeCompletion/templates.cpp index f7751413b9..22cca65bea 100644 --- a/test/CodeCompletion/templates.cpp +++ b/test/CodeCompletion/templates.cpp @@ -1,6 +1,3 @@ -// RUN: clang-cc -fsyntax-only -code-completion-dump=1 %s -o - | FileCheck -check-prefix=CC1 %s && -// RUN: true - namespace std { template<typename T> class allocator; @@ -10,8 +7,11 @@ namespace std { } void f() { + std:: + // RUN: clang-cc -fsyntax-only -code-completion-at=%s:10:8 %s -o - | FileCheck -check-prefix=CC1 %s && // CHECK-CC1: allocator<<#typename T#>> // CHECK-CC1: vector<<#typename T#>{#, <#typename Alloc#>#}> - std:: - + // RUN: true + + |