summaryrefslogtreecommitdiff
path: root/test/std/containers/sequences/array/array.special/swap.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/containers/sequences/array/array.special/swap.pass.cpp')
-rw-r--r--test/std/containers/sequences/array/array.special/swap.pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/std/containers/sequences/array/array.special/swap.pass.cpp b/test/std/containers/sequences/array/array.special/swap.pass.cpp
index 08e437739ee6..c1b0b235ab34 100644
--- a/test/std/containers/sequences/array/array.special/swap.pass.cpp
+++ b/test/std/containers/sequences/array/array.special/swap.pass.cpp
@@ -14,6 +14,10 @@
#include <array>
#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 main()
{
{