aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libgcc/cxxabi.cpp
blob: 025615bc4e6875e22cd40290027050aaa55c3270 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "cxxabi.h" 
 
#include <new> 
 
extern "C" { 
    void __cxa_throw_bad_array_length() { 
        throw std::bad_alloc(); 
    } 
 
    void __cxa_throw_bad_array_new_length() { 
        throw std::bad_alloc(); 
    } 
}