diff options
Diffstat (limited to 'libcxxabi/test/test_aux_runtime.cpp')
| -rw-r--r-- | libcxxabi/test/test_aux_runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/test/test_aux_runtime.cpp b/libcxxabi/test/test_aux_runtime.cpp index 0d239b47d43..5506ee335f9 100644 --- a/libcxxabi/test/test_aux_runtime.cpp +++ b/libcxxabi/test/test_aux_runtime.cpp @@ -26,7 +26,7 @@ bool bad_typeid_test () { class B { virtual void g() {}}; B *bp = NULL; - try { typeid(*bp) == typeid (A); } + try {bool b = typeid(*bp) == typeid (A); } catch ( const std::bad_typeid &bc ) { return true; } return false; } |

