summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-11 02:49:37 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-11 02:49:37 +0000
commitb6398818780314c84e796ec1d4b1dbda27ddf554 (patch)
treeed84b891491a5a66bb1d2ac41c4d423a079977f3 /libcxx/test/std/thread/thread.threads
parent3ca45664523ceef88a98df07ba0db922313f9ee8 (diff)
downloadbcm5719-llvm-b6398818780314c84e796ec1d4b1dbda27ddf554.tar.gz
bcm5719-llvm-b6398818780314c84e796ec1d4b1dbda27ddf554.zip
Fix yet another dynamic exception spec
llvm-svn: 289357
Diffstat (limited to 'libcxx/test/std/thread/thread.threads')
-rw-r--r--libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
index a965b700b04..437b4203791 100644
--- a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
+++ b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/F.pass.cpp
@@ -29,7 +29,7 @@ std::atomic<unsigned> throw_one(0xFFFF);
std::atomic<unsigned> outstanding_new(0);
-void* operator new(std::size_t s) throw(std::bad_alloc)
+void* operator new(std::size_t s) TEST_THROW_SPEC(std::bad_alloc)
{
if (throw_one == 0)
TEST_THROW(std::bad_alloc());
@@ -40,7 +40,7 @@ void* operator new(std::size_t s) throw(std::bad_alloc)
return ret;
}
-void operator delete(void* p) throw()
+void operator delete(void* p) TEST_NOEXCEPT
{
--outstanding_new;
std::free(p);
OpenPOWER on IntegriCloud