aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/new.cpp
blob: 32e0cbd801f2d3b501c5f212ede84108c549146a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//===--------------------------- new.cpp ----------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#include "new"

namespace std
{

bad_array_new_length::~bad_array_new_length() throw()
{
}

const char*
bad_array_new_length::what() const throw()
{
    return "bad_array_new_length";
}

void
__throw_bad_alloc()
{
    throw bad_alloc();
}

}  // std