From b4e2e7a2922229393d10a6de131f7f60e4ea0057 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 1 Oct 2015 07:05:38 +0000 Subject: Suppress array initialization warnings in std::experimental::apply tests llvm-svn: 248987 --- .../test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp') 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 #include -#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() { -- cgit v1.2.3