Browse Source

[libcxx] [test] Add missing <stdexcept> to name std::out_of_range to string.conversions\stold.pass.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@357547 91177308-0d34-0410-b5e6-96231b3b80d8
Billy Robert O'Neal III 6 years ago
parent
commit
306670a063
1 changed files with 3 additions and 2 deletions
  1. 3 2
      test/std/strings/string.conversions/stold.pass.cpp

+ 3 - 2
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"