diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-09-16 08:16:07 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-09-16 08:16:07 +0000 |
| commit | b4e15b8ceeaf891a5ca5a8192f0719c5bda6d7ce (patch) | |
| tree | 3146d42a8fedc0c9398a46fa7a98afc5a8c10671 | |
| parent | 4367c7fb9accecfeca579cdbae82f3c27ede6295 (diff) | |
| download | bcm5719-llvm-b4e15b8ceeaf891a5ca5a8192f0719c5bda6d7ce.tar.gz bcm5719-llvm-b4e15b8ceeaf891a5ca5a8192f0719c5bda6d7ce.zip | |
Fix side effect in assertion
llvm-svn: 281709
| -rw-r--r-- | libcxxabi/test/cxa_thread_atexit_test.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/test/cxa_thread_atexit_test.pass.cpp b/libcxxabi/test/cxa_thread_atexit_test.pass.cpp index ae241135f60..33a6850e994 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<void (*)(void *)>(1), reinterpret_cast<void *>(2), reinterpret_cast<void *>(3)); - assert(RV = 4); + assert(RV == 4); assert(AtexitImplCalled); return 0; } |

