Disable test that fails due to lack of std::true_type in C++03.

Michael, can this test be ported to C++03?

llvm-svn: 172996
This commit is contained in:
Benjamin Kramer 2013-01-20 21:52:27 +00:00
parent 27f55b0886
commit 804fa9cc43

View File

@ -56,6 +56,7 @@ struct InvalidArgError {
std::string ArgName;
};
#if LLVM_HAS_CXX11_STDLIB
namespace llvm {
template<>
struct ErrorOrUserDataTraits<InvalidArgError> : std::true_type {
@ -76,3 +77,4 @@ TEST(ErrorOr, UserErrorData) {
EXPECT_EQ("adena", t4().getError<InvalidArgError>().ArgName);
}
} // end anon namespace
#endif