|
|
@@ -3419,32 +3419,6 @@ for more information.
|
|
|
|
|
|
<!-- optional -->
|
|
|
<library name="optional">
|
|
|
- <mark-expected-failures>
|
|
|
- <test name="optional_test_ref_assign_const_int"/>
|
|
|
- <toolset name="msvc-10.0"/>
|
|
|
- <note author="Andrzej Krzemienski" id="optional-const-int-ref-bug">
|
|
|
- <p>This is a compiler bug: it sometimes creates an illegal temporary object.
|
|
|
- The following code illustrates the bug:</p>
|
|
|
- <pre>
|
|
|
- #include <cassert>
|
|
|
- const int global_i = 0;
|
|
|
-
|
|
|
- struct TestingReferenceBinding
|
|
|
- {
|
|
|
- void operator=(const int& ii)
|
|
|
- {
|
|
|
- assert(&ii == &global_i);
|
|
|
- }
|
|
|
- };
|
|
|
-
|
|
|
- int main()
|
|
|
- {
|
|
|
- TestingReferenceBinding ttt;
|
|
|
- ttt = global_i;
|
|
|
- }
|
|
|
- </pre>
|
|
|
- </note>
|
|
|
- </mark-expected-failures>
|
|
|
<mark-expected-failures>
|
|
|
<test name="optional_test_ref_converting_ctor"/>
|
|
|
<toolset name="gcc-4.4*"/>
|
|
|
@@ -3477,17 +3451,6 @@ for more information.
|
|
|
</pre>
|
|
|
</note>
|
|
|
</mark-expected-failures>
|
|
|
- <mark-expected-failures>
|
|
|
- <test name="optional_test_ref_convert_assign_const_int"/>
|
|
|
- <toolset name="msvc-8.0"/>
|
|
|
- <toolset name="msvc-9.0"/>
|
|
|
- <toolset name="msvc-10.0"/>
|
|
|
- <toolset name="msvc-11.0"/>
|
|
|
- <toolset name="msvc-12.0"/>
|
|
|
- <note author="Andrzej Krzemienski" id="optional-const-int-ref-assign-bug">
|
|
|
- <p>This is a compiler bug: it sometimes creates an illegal temporary object.</p>
|
|
|
- </note>
|
|
|
- </mark-expected-failures>
|
|
|
<mark-expected-failures>
|
|
|
<test name="optional_test_ref"/>
|
|
|
<toolset name="msvc-6.5*"/>
|