blob: d35e0bb8dcdea93c857c7915dd7fc8b6d33de225 [file] [log] [blame]
Douglas Gregor56ff8712009-09-18 22:47:56 +00001namespace std {
2 template<typename T>
3 class allocator;
4
5 template<typename T, typename Alloc = std::allocator<T> >
6 class vector;
7}
8
9void f() {
Douglas Gregorb657f112009-09-22 21:11:38 +000010 std::
Daniel Dunbar4fcfde42009-11-08 01:45:36 +000011 // RUN: clang-cc -fsyntax-only -code-completion-at=%s:10:8 %s -o - | FileCheck -check-prefix=CC1 %s
Douglas Gregor56ff8712009-09-18 22:47:56 +000012 // CHECK-CC1: allocator<<#typename T#>>
13 // CHECK-CC1: vector<<#typename T#>{#, <#typename Alloc#>#}>
Douglas Gregorb657f112009-09-22 21:11:38 +000014
15
Douglas Gregor56ff8712009-09-18 22:47:56 +000016