From b4e15b8ceeaf891a5ca5a8192f0719c5bda6d7ce Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 16 Sep 2016 08:16:07 +0000 Subject: [PATCH] Fix side effect in assertion llvm-svn: 281709 --- libcxxabi/test/cxa_thread_atexit_test.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxxabi/test/cxa_thread_atexit_test.pass.cpp b/libcxxabi/test/cxa_thread_atexit_test.pass.cpp index ae24113..33a6850 100644 --- a/libcxxabi/test/cxa_thread_atexit_test.pass.cpp +++ b/libcxxabi/test/cxa_thread_atexit_test.pass.cpp @@ -28,7 +28,7 @@ int main() { int RV = __cxxabiv1::__cxa_thread_atexit( reinterpret_cast(1), reinterpret_cast(2), reinterpret_cast(3)); - assert(RV = 4); + assert(RV == 4); assert(AtexitImplCalled); return 0; } -- 2.7.4