aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libgcc/cxxabi.cpp
blob: fdb85e15af56f23aed54a9d3a388a5536382a9b8 (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();
    }
}