commit | dee07a6a9fa17ae15dc34e1f31310a7c2dbfc30f | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Sat Dec 24 04:34:33 2016 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Sat Dec 24 04:34:33 2016 +0000 |
tree | 638fce9739695b2b35d63039465b5a2ad37411cb | |
parent | 2c3fb80b23780b0552b676fde29e20ba6d8db228 [diff] [blame] |
Enable -Wunreachable-code and fix duplicate warning flags llvm-svn: 290486
diff --git a/libcxx/test/std/thread/futures/futures.async/async.pass.cpp b/libcxx/test/std/thread/futures/futures.async/async.pass.cpp index 0f5ee05..9adebb2 100644 --- a/libcxx/test/std/thread/futures/futures.async/async.pass.cpp +++ b/libcxx/test/std/thread/futures/futures.async/async.pass.cpp
@@ -72,7 +72,8 @@ void f5(int j) { std::this_thread::sleep_for(ms(200)); - TEST_THROW(j); ((void)j); + ((void)j); + TEST_THROW(j); } template <class Ret, class CheckLamdba, class ...Args>