summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-04-24 02:21:13 +0000
committerEric Fiselier <eric@efcs.ca>2019-04-24 02:21:13 +0000
commit27fd2f60eef0f8b57d9b228385c1ecaad6b21d20 (patch)
tree0d77e5b3095177ef94ae1b32a430ede8f8025638
parent39a2d20a0fab7decb9a6c4533fe80c07c262b6d5 (diff)
downloadbcm5719-llvm-27fd2f60eef0f8b57d9b228385c1ecaad6b21d20.tar.gz
bcm5719-llvm-27fd2f60eef0f8b57d9b228385c1ecaad6b21d20.zip
Work around GCC test failure.
llvm-svn: 359065
-rw-r--r--libcxxabi/test/guard_test_basic.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxxabi/test/guard_test_basic.pass.cpp b/libcxxabi/test/guard_test_basic.pass.cpp
index 5f1576dbc05..e04d694c845 100644
--- a/libcxxabi/test/guard_test_basic.pass.cpp
+++ b/libcxxabi/test/guard_test_basic.pass.cpp
@@ -96,13 +96,13 @@ struct NopMutex {
private:
bool is_locked = false;
};
-static NopMutex global_nop_mutex = {};
+NopMutex global_nop_mutex = {};
struct NopCondVar {
bool broadcast() { return false; }
bool wait(NopMutex&) { return false; }
};
-static NopCondVar global_nop_cond = {};
+NopCondVar global_nop_cond = {};
void NopFutexWait(int*, int) { assert(false); }
void NopFutexWake(int*) { assert(false); }
OpenPOWER on IntegriCloud