Commit c807fe1f authored by Peter Griess's avatar Peter Griess

Revert D998590

Summary:
- It looks like Xcode 5.0.2 / clang 500.2.79 changed this behavior. The
prior behavior was seen against Xcode 5.0.1 / clang 500.2.75. Blerg.
If we really have to support different Xcode flavors we can come up
with a real solution for this, but for now just take advantage of the
fact that clang and gcc seem to agree on this.

Test Plan: - make check on Mac OS X

Reviewed By: andrei.alexandrescu@fb.com

FB internal diff: D1066272

Blame Revision: D998590
parent 571c2047
......@@ -127,11 +127,7 @@ TEST(ScopeGuard, GuardException) {
throw std::runtime_error("destructors should never throw!");
});
},
#if FOLLY_USE_LIBCPP
"terminate called throwing an exception"
#else
"destructors should never throw"
#endif
"destructors should never throw!"
);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment