mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Revert "[Support][ErrorOr] Add support for convertable types."
This reverts commit a33e1fafac
.
This unit test crashes on Darwon. It needs to be temporarily reverted
to unblock the test infrastructure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -53,17 +53,6 @@ TEST(ErrorOr, Types) {
|
||||
EXPECT_EQ(3, **t3());
|
||||
#endif
|
||||
}
|
||||
|
||||
struct B {};
|
||||
struct D : B {};
|
||||
|
||||
TEST(ErrorOr, Covariant) {
|
||||
ErrorOr<B*> b(ErrorOr<D*>(0));
|
||||
|
||||
#if LLVM_HAS_CXX11_STDLIB
|
||||
ErrorOr<std::unique_ptr<B> > b1(ErrorOr<std::unique_ptr<D> >(0));
|
||||
#endif
|
||||
}
|
||||
} // end anon namespace
|
||||
|
||||
struct InvalidArgError {
|
||||
|
Reference in New Issue
Block a user