llvm-for-llvmta/tools/clang/test/Modules/Inputs/PR27401/b.h

22 lines
518 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
#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; }