Removet compiler tests

This commit is contained in:
Andrzej Krzemienski
2014-10-08 21:35:09 +02:00
parent a913650322
commit 35d5e25672
3 changed files with 0 additions and 34 deletions

View File

@ -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 ]
;
}

View File

@ -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();
}

View File

@ -1,14 +0,0 @@
struct A
{
A(int) {}
};
struct B
{
operator int() { return 0; }
};
int main()
{
A t = B();
}