From 6d5ad1d47a7f555f4a66dcb4f70ad7db828f840a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Krzemie=C5=84ski?= Date: Fri, 19 Feb 2016 15:07:06 +0100 Subject: [PATCH] changes in Boost.Optional expected failures --- status/explicit-failures-markup.xml | 46 ++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/status/explicit-failures-markup.xml b/status/explicit-failures-markup.xml index 6395135d965..f7e83fd97a2 100644 --- a/status/explicit-failures-markup.xml +++ b/status/explicit-failures-markup.xml @@ -3091,32 +3091,24 @@ for more information. - - - - -

This is a compiler bug: it sometimes creates an illegal temporary object. - The following code illustrates the bug:

-
-		#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;
-		}
-                
+ + + + + + + + + + + + + + + This test only verifies a compile-time trap for a bug in MSVC. + It has no value for other compilers (and newest MSVC). -
+ @@ -3151,13 +3143,15 @@ for more information. + -

This is a compiler bug: it sometimes creates an illegal temporary object.

+

This is a MSVC compiler bug: it sometimes creates an illegal temporary + when assigning from const lvalue of integral type.