[libcxxabi][test] Add missing return statement.
This causes a test failure when running with -Werror=return-type. NFC. llvm-svn: 271423
This commit is contained in:
parent
73694bb92b
commit
ece18f4c14
|
@ -24,7 +24,7 @@ class Base {
|
|||
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); }
|
||||
|
|
Loading…
Reference in New Issue