aboutsummaryrefslogtreecommitdiff
path: root/test/std/experimental/optional/optional.syn/optional_includes_initializer_list.pass.cpp
blob: b8fba47f7e78e43b50e45d92db898f04b9e4cc10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// UNSUPPORTED: c++98, c++03, c++11
// <optional>

// #include <initializer_list>

#include <experimental/optional>

int main()
{
    using std::experimental::optional;

    std::initializer_list<int> list;
    (void)list;
}