1 //===----------------------------------------------------------------------===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 // struct nothrow_t {
11 // explicit nothrow_t() = default;
12 // };
13 // extern const nothrow_t nothrow;
14
15 #include <new>
16
17
main(int,char **)18 int main(int, char**) {
19 std::nothrow_t x = std::nothrow;
20 (void)x;
21
22 return 0;
23 }
24