Skip to content

Commit 27fd2f6

Browse files
committed
Work around GCC test failure.
llvm-svn: 359065
1 parent 39a2d20 commit 27fd2f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxxabi/test/guard_test_basic.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ struct NopMutex {
9696
private:
9797
bool is_locked = false;
9898
};
99-
static NopMutex global_nop_mutex = {};
99+
NopMutex global_nop_mutex = {};
100100

101101
struct NopCondVar {
102102
bool broadcast() { return false; }
103103
bool wait(NopMutex&) { return false; }
104104
};
105-
static NopCondVar global_nop_cond = {};
105+
NopCondVar global_nop_cond = {};
106106

107107
void NopFutexWait(int*, int) { assert(false); }
108108
void NopFutexWake(int*) { assert(false); }

0 commit comments

Comments
 (0)