diff options
| author | Stephan T. Lavavej <stl@microsoft.com> | 2019-12-13 18:14:09 -0800 |
|---|---|---|
| committer | Stephan T. Lavavej <stl@microsoft.com> | 2019-12-13 18:24:18 -0800 |
| commit | 5688f168528377d1c55fe1feff82c9caa21a7c0a (patch) | |
| tree | 024b37599a8470f25488ea07575628aceafb86b9 /libcxx/test/std/containers/sequences/array/at.pass.cpp | |
| parent | f450dd63a14d6cb16418f6a6f4de26916502c13f (diff) | |
| download | bcm5719-llvm-5688f168528377d1c55fe1feff82c9caa21a7c0a.tar.gz bcm5719-llvm-5688f168528377d1c55fe1feff82c9caa21a7c0a.zip | |
[libcxx] [test] Include missing headers. (NFC)
libcxx/test/std/containers/sequences/array/at.pass.cpp
Need to include <stdexcept> for std::out_of_range.
libcxx/test/std/localization/locale.categories/category.time/*
Need to include <ios> for std::ios.
Diffstat (limited to 'libcxx/test/std/containers/sequences/array/at.pass.cpp')
| -rw-r--r-- | libcxx/test/std/containers/sequences/array/at.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/containers/sequences/array/at.pass.cpp b/libcxx/test/std/containers/sequences/array/at.pass.cpp index 0240d5a8372..0454643541c 100644 --- a/libcxx/test/std/containers/sequences/array/at.pass.cpp +++ b/libcxx/test/std/containers/sequences/array/at.pass.cpp @@ -16,6 +16,10 @@ #include <array> #include <cassert> +#ifndef TEST_HAS_NO_EXCEPTIONS +#include <stdexcept> +#endif + #include "test_macros.h" // std::array is explicitly allowed to be initialized with A a = { init-list };. |

