Suppress array initialization warnings in std::experimental::apply tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@248987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
||||
// 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"
|
||||
|
||||
|
||||
namespace ex = std::experimental;
|
||||
|
||||
int call_with_value(int x, int y) { return (x + y); }
|
||||
|
@@ -22,6 +22,10 @@
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
||||
// 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 count = 0;
|
||||
|
||||
struct A_int_0
|
||||
|
@@ -20,6 +20,10 @@
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
||||
// 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"
|
||||
|
||||
namespace ex = std::experimental;
|
||||
|
||||
int count = 0;
|
||||
|
Reference in New Issue
Block a user