Disable 'suggest braces' warnings for std::array in tests

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337808 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2018-07-24 03:41:36 +00:00
parent fbd3e84fa1
commit dfd0874465
2 changed files with 7 additions and 0 deletions

View File

@@ -27,6 +27,9 @@
#include <string>
#include "test_macros.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"
void checkCV()