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 // UNSUPPORTED: c++98, c++03, c++11, c++14 11 // <optional> 12 13 // #include <initializer_list> 14 15 #include <optional> 16 17 int main() 18 { 19 using std::optional; 20 21 std::initializer_list<int> list; 22 (void)list; 23 } 24