diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index c9577d5..aeb0900 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -43,7 +43,5 @@ import testing ; [ 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_call.cpp ] - [ run optional_test_COMPILER_CONVERSION_BUGS1.cpp ] - [ compile-fail optional_test_COMPILER_CONVERSION_BUGS2.cpp ] ; } diff --git a/test/optional_test_COMPILER_CONVERSION_BUGS1.cpp b/test/optional_test_COMPILER_CONVERSION_BUGS1.cpp deleted file mode 100644 index c911a8b..0000000 --- a/test/optional_test_COMPILER_CONVERSION_BUGS1.cpp +++ /dev/null @@ -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(); -} \ No newline at end of file diff --git a/test/optional_test_COMPILER_CONVERSION_BUGS2.cpp b/test/optional_test_COMPILER_CONVERSION_BUGS2.cpp deleted file mode 100644 index 9c6c699..0000000 --- a/test/optional_test_COMPILER_CONVERSION_BUGS2.cpp +++ /dev/null @@ -1,14 +0,0 @@ -struct A -{ - A(int) {} -}; - -struct B -{ - operator int() { return 0; } -}; - -int main() -{ - A t = B(); -} \ No newline at end of file