blob: 32e0cbd801f2d3b501c5f212ede84108c549146a [file] [log] [blame]
Howard Hinnantc51e1022010-05-11 19:42:16 +00001//===--------------------------- new.cpp ----------------------------------===//
2//
Howard Hinnantc566dc32010-05-11 21:36:01 +00003// The LLVM Compiler Infrastructure
Howard Hinnantc51e1022010-05-11 19:42:16 +00004//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "new"
11
12namespace std
13{
14
15bad_array_new_length::~bad_array_new_length() throw()
16{
17}
18
19const char*
20bad_array_new_length::what() const throw()
21{
22 return "bad_array_new_length";
23}
24
25void
26__throw_bad_alloc()
27{
28 throw bad_alloc();
29}
30
31} // std