Silence a warning.

llvm-svn: 149155
This commit is contained in:
Howard Hinnant
2012-01-28 00:29:27 +00:00
parent ad048719a7
commit 44e3703639

View File

@@ -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;
}