summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2019-04-03 00:08:42 +0000
committerBilly Robert O'Neal III <bion@microsoft.com>2019-04-03 00:08:42 +0000
commit4c1581e2da81d640c019c2d9a6618db9eb4e471e (patch)
tree6f3214398e6f11d94bd02247033d6bf6f3375e67 /libcxx/test
parent2bb0f75a8015991bb802ea617f17cce9e935150d (diff)
downloadbcm5719-llvm-4c1581e2da81d640c019c2d9a6618db9eb4e471e.tar.gz
bcm5719-llvm-4c1581e2da81d640c019c2d9a6618db9eb4e471e.zip
[libcxx] [test] Add missing <stdexcept> to name std::out_of_range to string.conversions\stold.pass.cpp.
llvm-svn: 357547
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/std/strings/string.conversions/stold.pass.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/test/std/strings/string.conversions/stold.pass.cpp b/libcxx/test/std/strings/string.conversions/stold.pass.cpp
index d079f8483c7..1953167021f 100644
--- a/libcxx/test/std/strings/string.conversions/stold.pass.cpp
+++ b/libcxx/test/std/strings/string.conversions/stold.pass.cpp
@@ -16,9 +16,10 @@
// libc++abi.dylib and exceptions are not caught properly.
// XFAIL: with_system_cxx_lib=macosx10.7
-#include <string>
-#include <cmath>
#include <cassert>
+#include <cmath>
+#include <stdexcept>
+#include <string>
#include "test_macros.h"
OpenPOWER on IntegriCloud