summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/PR27401/b.h
blob: 2b4e7f14fbb4099265d52e739df33a964e2a5879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "a.h"
#ifndef _LIBCPP_VECTOR
template <class, class _Allocator>
class __vector_base {
protected:
  _Allocator __alloc() const;
  __vector_base(_Allocator);
};

template <class _Tp, class _Allocator = allocator>
class vector : __vector_base<_Tp, _Allocator> {
public:
  vector() noexcept(is_nothrow_default_constructible<_Allocator>::value);
  vector(const vector &);
  vector(vector &&)
      noexcept(is_nothrow_move_constructible<_Allocator>::value);
};

#endif
void GetUniquePtrType() { vector<char> v; }

OpenPOWER on IntegriCloud