diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 | 
| commit | 51072bd6bf79ef2bc6a922079bff57c31c1effbc (patch) | |
| tree | 91a2effbc9e6f80bdbbf9eb70e06c51ad0867ea0 /test/std/numerics/rand/rand.device/eval.pass.cpp | |
| parent | bb5e33f003797b67974a8893f7f2930fc51b8210 (diff) | |
Notes
Diffstat (limited to 'test/std/numerics/rand/rand.device/eval.pass.cpp')
| -rw-r--r-- | test/std/numerics/rand/rand.device/eval.pass.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/test/std/numerics/rand/rand.device/eval.pass.cpp b/test/std/numerics/rand/rand.device/eval.pass.cpp index ed5361fbde75..eabcc201e068 100644 --- a/test/std/numerics/rand/rand.device/eval.pass.cpp +++ b/test/std/numerics/rand/rand.device/eval.pass.cpp @@ -17,6 +17,8 @@  #include <random>  #include <cassert> +#include "test_macros.h" +  int main()  {      { @@ -28,9 +30,9 @@ int main()      {          std::random_device r("/dev/null");          r(); -        assert(false); +        LIBCPP_ASSERT(false);      } -    catch (const std::system_error& e) +    catch (const std::system_error&)      {      }  }  | 
