Remove tabs

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2010-08-22 13:53:14 +00:00
parent d2bb032075
commit d510977c4d
4 changed files with 33 additions and 33 deletions

View File

@@ -23,13 +23,13 @@ void f3()
int main()
{
std::unexpected_handler old = std::set_unexpected(f1);
std::unexpected_handler old = std::set_unexpected(f1);
// verify there is a previous unexpected handler
assert(old);
// verify f1 was replace with f2
assert(old);
// verify f1 was replace with f2
assert(std::set_unexpected(f2) == f1);
// verify calling original unexpected handler calls terminate
std::set_terminate(f3);
(*old)();
assert(0);
// verify calling original unexpected handler calls terminate
std::set_terminate(f3);
(*old)();
assert(0);
}