[libcxxabi][test] Add missing return statement.

This causes a test failure when running with -Werror=return-type.

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@271423 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/cxa_bad_typeid.pass.cpp b/test/cxa_bad_typeid.pass.cpp
index d747ff2..5018573 100644
--- a/test/cxa_bad_typeid.pass.cpp
+++ b/test/cxa_bad_typeid.pass.cpp
@@ -24,7 +24,7 @@
 class Derived : public Base {};
 
 std::string test_bad_typeid(Derived *p) {
-    typeid(*p).name();
+    return typeid(*p).name();
 }
 
 void my_terminate() { std::cout << "A" << std::endl; exit(0); }