Browse Source

Suppress warning in make_from_tuple tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@275748 91177308-0d34-0410-b5e6-96231b3b80d8
Eric Fiselier 9 years ago
parent
commit
c79e8b692d

+ 4 - 0
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 <class Tuple>
 struct ConstexprConstructibleFromTuple {
   template <class ...Args>