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 | //===----------------------------------------------------------------------===// |
8 | |
9 | // UNSUPPORTED: c++03, c++11, c++14 |
10 | // <optional> |
11 | |
12 | // #include <initializer_list> |
13 | |
14 | #include <optional> |
15 | |
16 | #include "test_macros.h" |
17 | |
18 | int main(int, char**) |
19 | { |
20 | using std::optional; |
21 | |
22 | std::initializer_list<int> list; |
23 | (void)list; |
24 | |
25 | return 0; |
26 | } |
27 | |