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 //===----------------------------------------------------------------------===//
10 // UNSUPPORTED: no-exceptions
18 // Despite being marked as noexcept, this function must have an EHT entry that
19 // is not 'cantunwind', so that the unwinder can correctly deal with the throw.