diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2012-01-28 00:29:27 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2012-01-28 00:29:27 +0000 |
| commit | 44e370363916b8f4b3ccdb18b57e36637b583eec (patch) | |
| tree | 3969a6f91d0cc8f0a9c5da699dd5f35e8013e24c /libcxxabi/test/test_aux_runtime.cpp | |
| parent | ad048719a7dc0b34b8b304f7b6f53f77b1a8416b (diff) | |
| download | bcm5719-llvm-44e370363916b8f4b3ccdb18b57e36637b583eec.tar.gz bcm5719-llvm-44e370363916b8f4b3ccdb18b57e36637b583eec.zip | |
Silence a warning.
llvm-svn: 149155
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; } |

