From 1447da3383b8fba6116bb8fdbc0dba15e0e42312 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Mon, 18 Jul 2016 01:52:46 +0000 Subject: [PATCH] Suppress warning in make_from_tuple tests. llvm-svn: 275748 --- .../utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp index 6d5cc2b..143ae19 100644 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp +++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp @@ -22,6 +22,10 @@ #include "test_macros.h" #include "type_id.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" + template struct ConstexprConstructibleFromTuple { template -- 2.7.4