diff options
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 ed5361fbde754..eabcc201e0688 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&) { } } |