1
//===----------------------------------------------------------------------===//
3
// The LLVM Compiler Infrastructure
5
// This file is dual licensed under the MIT and the University of Illinois Open
6
// Source Licenses. See LICENSE.TXT for details.
8
//===----------------------------------------------------------------------===//
14
// max(initializer_list<T> t);
21
#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
22
int i = std::max({2, 3, 1});
24
i = std::max({2, 1, 3});
26
i = std::max({3, 1, 2});
28
i = std::max({3, 2, 1});
30
i = std::max({1, 2, 3});
32
i = std::max({1, 3, 2});
34
#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS