summaryrefslogtreecommitdiff
path: root/libcxx/test/containers/sequences/vector.bool/initializer_list.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/containers/sequences/vector.bool/initializer_list.pass.cpp')
-rw-r--r--libcxx/test/containers/sequences/vector.bool/initializer_list.pass.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/libcxx/test/containers/sequences/vector.bool/initializer_list.pass.cpp b/libcxx/test/containers/sequences/vector.bool/initializer_list.pass.cpp
deleted file mode 100644
index 04d94e077dd4..000000000000
--- a/libcxx/test/containers/sequences/vector.bool/initializer_list.pass.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-// 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.
-//
-//===----------------------------------------------------------------------===//
-
-// <vector>
-
-// vector(initializer_list<value_type> il);
-
-#include <vector>
-#include <cassert>
-
-int main()
-{
-#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
- std::vector<int> d = {true, false, false, true};
- assert(d.size() == 4);
- assert(d[0] == true);
- assert(d[1] == false);
- assert(d[2] == false);
- assert(d[3] == true);
-#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
-}