summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-10-01 07:05:38 +0000
committerEric Fiselier <eric@efcs.ca>2015-10-01 07:05:38 +0000
commitb4e2e7a2922229393d10a6de131f7f60e4ea0057 (patch)
treee98a1c68eb62049471c9d4df5ecfaa6338548dae /libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
parentf74bb3b8b028904d3c05ba62c13c0c0d7ac329c6 (diff)
downloadbcm5719-llvm-b4e2e7a2922229393d10a6de131f7f60e4ea0057.tar.gz
bcm5719-llvm-b4e2e7a2922229393d10a6de131f7f60e4ea0057.zip
Suppress array initialization warnings in std::experimental::apply tests
llvm-svn: 248987
Diffstat (limited to 'libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp')
-rw-r--r--libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp b/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
index 412c7c78aa8..72ef49b157f 100644
--- a/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
+++ b/libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp
@@ -18,7 +18,9 @@
#include <utility>
#include <cassert>
-#include "../suppress_array_warnings.h"
+// std::array is explicitly allowed to be initialized with A a = { init-list };.
+// Disable the missing braces warning for this reason.
+#include "disable_missing_braces_warning.h"
int main()
{
OpenPOWER on IntegriCloud