summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/templates.cpp
blob: c7295b8ffa5c15439cc6c6bdd93dd2be938040f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace std {
  template<typename T>
  class allocator;
  
  template<typename T, typename Alloc = std::allocator<T> >
  class vector;
}

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#>#}>
  // RUN: true
  
  

OpenPOWER on IntegriCloud