[cfe-commits] [libcxxabi] r149155 - /libcxxabi/trunk/test/test_aux_runtime.cpp

Howard Hinnant hhinnant at apple.com
Fri Jan 27 16:29:27 PST 2012


Author: hhinnant
Date: Fri Jan 27 18:29:27 2012
New Revision: 149155

URL: http://llvm.org/viewvc/llvm-project?rev=149155&view=rev
Log:
Silence a warning.

Modified:
    libcxxabi/trunk/test/test_aux_runtime.cpp

Modified: libcxxabi/trunk/test/test_aux_runtime.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/test_aux_runtime.cpp?rev=149155&r1=149154&r2=149155&view=diff
==============================================================================
--- libcxxabi/trunk/test/test_aux_runtime.cpp (original)
+++ libcxxabi/trunk/test/test_aux_runtime.cpp Fri Jan 27 18:29:27 2012
@@ -26,7 +26,7 @@
     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;
     }





More information about the cfe-commits mailing list