1 //===---------------------- catch_in_noexcept.cpp--------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++98, c++03, libcxxabi-no-exceptions
17 // Despite being marked as noexcept, this function must have an EHT entry that
18 // is not 'cantunwind', so that the unwinder can correctly deal with the throw.