[libcxx-commits] [libcxxabi] r359065 - Work around GCC test failure.
Eric Fiselier via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 23 19:21:14 PDT 2019
Author: ericwf
Date: Tue Apr 23 19:21:13 2019
New Revision: 359065
URL: http://llvm.org/viewvc/llvm-project?rev=359065&view=rev
Log:
Work around GCC test failure.
Modified:
libcxxabi/trunk/test/guard_test_basic.pass.cpp
Modified: libcxxabi/trunk/test/guard_test_basic.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/guard_test_basic.pass.cpp?rev=359065&r1=359064&r2=359065&view=diff
==============================================================================
--- libcxxabi/trunk/test/guard_test_basic.pass.cpp (original)
+++ libcxxabi/trunk/test/guard_test_basic.pass.cpp Tue Apr 23 19:21:13 2019
@@ -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); }
More information about the libcxx-commits
mailing list