mirror of
https://github.com/boostorg/optional.git
synced 2025-07-31 21:14:31 +02:00
Removet compiler tests
This commit is contained in:
@@ -43,7 +43,5 @@ import testing ;
|
|||||||
[ compile-fail optional_test_ref_fail_assign_from_Urefref.cpp ]
|
[ compile-fail optional_test_ref_fail_assign_from_Urefref.cpp ]
|
||||||
[ compile-fail optional_test_fail_explicit_convert_in_value_or.cpp ]
|
[ compile-fail optional_test_fail_explicit_convert_in_value_or.cpp ]
|
||||||
[ compile-fail optional_test_fail_explicit_convert_in_value_or_call.cpp ]
|
[ compile-fail optional_test_fail_explicit_convert_in_value_or_call.cpp ]
|
||||||
[ run optional_test_COMPILER_CONVERSION_BUGS1.cpp ]
|
|
||||||
[ compile-fail optional_test_COMPILER_CONVERSION_BUGS2.cpp ]
|
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
@@ -1,18 +0,0 @@
|
|||||||
struct A
|
|
||||||
{
|
|
||||||
A(int) {}
|
|
||||||
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
|
||||||
A(A &&) {}
|
|
||||||
#endif
|
|
||||||
};
|
|
||||||
|
|
||||||
struct B
|
|
||||||
{
|
|
||||||
operator A() { return A(1); }
|
|
||||||
operator int() { return 0; }
|
|
||||||
};
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
A t = B();
|
|
||||||
}
|
|
@@ -1,14 +0,0 @@
|
|||||||
struct A
|
|
||||||
{
|
|
||||||
A(int) {}
|
|
||||||
};
|
|
||||||
|
|
||||||
struct B
|
|
||||||
{
|
|
||||||
operator int() { return 0; }
|
|
||||||
};
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
A t = B();
|
|
||||||
}
|
|
Reference in New Issue
Block a user