Disable 'missing-braces' warning

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@332779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2018-05-18 22:21:33 +00:00
parent 8a50bbc2b9
commit f2c627db20
2 changed files with 9 additions and 0 deletions

View File

@@ -22,6 +22,10 @@
#include <cassert>
#include <cstddef>
// 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"
#include "test_macros.h"
int main()