mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
Disable test that fails due to lack of std::true_type in C++03.
Michael, can this test be ported to C++03? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172996 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a080daf5c6
commit
c052d5b047
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user