1// -*- C++ -*-
2//===----------------------------------------------------------------------===//
3//
4//                     The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef LIBCXXRT
12#error this header may only be used when targeting libcxxrt
13#endif
14
15namespace std {
16
17bad_exception::~bad_exception() _NOEXCEPT
18{
19}
20
21const char* bad_exception::what() const _NOEXCEPT
22{
23  return "std::bad_exception";
24}
25
26} // namespace std
27