[LV] Add tests with outisde IV users where vector region can e removed.
[llvm-project.git] / libcxx / test / std / language.support / support.dynamic / nothrow_t.pass.cpp
blobbfc41cb141aac2a6dd6ad66ecbb685bd9f011810
1 //===----------------------------------------------------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
9 // struct nothrow_t {
10 // explicit nothrow_t() = default;
11 // };
12 // extern const nothrow_t nothrow;
14 #include <new>
17 int main(int, char**) {
18 std::nothrow_t x = std::nothrow;
19 (void)x;
21 return 0;