Douglas Gregor | 56ff871 | 2009-09-18 22:47:56 +0000 | [diff] [blame] | 1 | namespace std { |
| 2 | template<typename T> |
| 3 | class allocator; |
| 4 | |
Douglas Gregor | e29ffaa | 2009-12-11 16:18:54 +0000 | [diff] [blame^] | 5 | template<typename T, typename Alloc = std::allocator<T> > class vector; |
| 6 | template<typename Alloc> class vector<bool, Alloc>; |
Douglas Gregor | 56ff871 | 2009-09-18 22:47:56 +0000 | [diff] [blame] | 7 | } |
| 8 | |
| 9 | void f() { |
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 10 | std:: |
Daniel Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 11 | // RUN: clang-cc -fsyntax-only -code-completion-at=%s:10:8 %s -o - | FileCheck -check-prefix=CC1 %s |
Douglas Gregor | 56ff871 | 2009-09-18 22:47:56 +0000 | [diff] [blame] | 12 | // CHECK-CC1: allocator<<#typename T#>> |
Douglas Gregor | e29ffaa | 2009-12-11 16:18:54 +0000 | [diff] [blame^] | 13 | // CHECK-CC1-NEXT: vector<<#typename T#>{#, <#typename Alloc#>#}> |
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 14 | |
| 15 | |
Douglas Gregor | 56ff871 | 2009-09-18 22:47:56 +0000 | [diff] [blame] | 16 | |