From 8743f8ca245d94e91889f376c236aed81b61ffa3 Mon Sep 17 00:00:00 2001 From: Ben Craig Date: Tue, 19 Apr 2016 20:13:55 +0000 Subject: Include initializer_list from utility The C++11 and C++14 standards both say in the header synopsis that shall include . llvm-svn: 266808 --- libcxx/test/std/utilities/utility/synopsis.pass.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libcxx/test/std/utilities/utility/synopsis.pass.cpp (limited to 'libcxx/test/std/utilities/utility') diff --git a/libcxx/test/std/utilities/utility/synopsis.pass.cpp b/libcxx/test/std/utilities/utility/synopsis.pass.cpp new file mode 100644 index 00000000000..edb45cf6105 --- /dev/null +++ b/libcxx/test/std/utilities/utility/synopsis.pass.cpp @@ -0,0 +1,20 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// + +// + +// #include + +#include + +int main() +{ + std::initializer_list x; +} + -- cgit v1.2.3