From 44e370363916b8f4b3ccdb18b57e36637b583eec Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sat, 28 Jan 2012 00:29:27 +0000 Subject: [PATCH] Silence a warning. llvm-svn: 149155 --- libcxxabi/test/test_aux_runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxxabi/test/test_aux_runtime.cpp b/libcxxabi/test/test_aux_runtime.cpp index 0d239b47d431..5506ee335f98 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; }