Merge pull request #266 from akrzemi1/patch-9

unmarked some optional tests
This commit is contained in:
Glen Fernandes 2019-05-18 10:22:38 -04:00 committed by GitHub
commit 1e1b48b5df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 &lt;cassert&gt;
const int global_i = 0;
struct TestingReferenceBinding
{
void operator=(const int&amp; ii)
{
assert(&amp;ii == &amp;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*"/>