diff options
| author | joerg <joerg@NetBSD.org> | 2019-11-13 22:19:09 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2019-11-13 22:19:09 +0000 |
| commit | 0d35749f76bed0dbfe021d413f349530cd91c69f (patch) | |
| tree | d64d1a283f701b8dc95633fbb1a57f88b9eaf758 /external/bsd/llvm/dist/clang/test/CodeCompletion/function-templates.cpp | |
| parent | 9a2273907ccad6420f010058d00a72bb9421dc22 (diff) | |
Mark old LLVM instance as dead.
Diffstat (limited to 'external/bsd/llvm/dist/clang/test/CodeCompletion/function-templates.cpp')
| -rw-r--r-- | external/bsd/llvm/dist/clang/test/CodeCompletion/function-templates.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/external/bsd/llvm/dist/clang/test/CodeCompletion/function-templates.cpp b/external/bsd/llvm/dist/clang/test/CodeCompletion/function-templates.cpp deleted file mode 100644 index cdbbf75838e..00000000000 --- a/external/bsd/llvm/dist/clang/test/CodeCompletion/function-templates.cpp +++ /dev/null @@ -1,23 +0,0 @@ -namespace std { - template<typename RandomAccessIterator> - void sort(RandomAccessIterator first, RandomAccessIterator last); - - template<class X, class Y> - X* dyn_cast(Y *Val); -} - -class Foo { -public: - template<typename T> T &getAs(); -}; - -void f() { - std::sort(1, 2); - Foo().getAs<int>(); - // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:15:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s - // CHECK-CC1: dyn_cast<<#class X#>>(<#Y *Val#>) - // CHECK-CC1: sort(<#RandomAccessIterator first#>, <#RandomAccessIterator last#> - // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:16:9 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s - // CHECK-CC2: getAs<<#typename T#>>() -) - |
