From 943df2a9aa9fdea2674d5620ae6d1f76a7f16c69 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Fri, 28 Nov 2003 15:38:57 +0000 Subject: [PATCH] No longer needed [SVN r20993] --- test/optional_test_ref_fail1a.cpp | 25 ------------------------- test/optional_test_ref_fail1b.cpp | 25 ------------------------- test/optional_test_ref_fail1c.cpp | 25 ------------------------- test/optional_test_ref_fail5.cpp | 24 ------------------------ 4 files changed, 99 deletions(-) delete mode 100644 test/optional_test_ref_fail1a.cpp delete mode 100644 test/optional_test_ref_fail1b.cpp delete mode 100644 test/optional_test_ref_fail1c.cpp delete mode 100644 test/optional_test_ref_fail5.cpp diff --git a/test/optional_test_ref_fail1a.cpp b/test/optional_test_ref_fail1a.cpp deleted file mode 100644 index 8f89bae..0000000 --- a/test/optional_test_ref_fail1a.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (C) 2003, Fernando Luis Cacciola Carballal. -// -// Use, modification, and distribution is subject to the Boost Software -// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) -// -// See http://www.boost.org/lib/optional for documentation. -// -// You are welcome to contact the author at: -// fernando_cacciola@hotmail.com -// -#include "boost/optional.hpp" - -// -// THIS TEST SHOULD FAIL TO COMPILE -// -void optional_reference__test_no_assignment1() -{ - boost::optional opt ; - int v = 2 ; - int& r = v ; - opt = r ; -} - - diff --git a/test/optional_test_ref_fail1b.cpp b/test/optional_test_ref_fail1b.cpp deleted file mode 100644 index 7bdce79..0000000 --- a/test/optional_test_ref_fail1b.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (C) 2003, Fernando Luis Cacciola Carballal. -// -// Use, modification, and distribution is subject to the Boost Software -// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) -// -// See http://www.boost.org/lib/optional for documentation. -// -// You are welcome to contact the author at: -// fernando_cacciola@hotmail.com -// -#include "boost/optional.hpp" - -// -// THIS TEST SHOULD FAIL TO COMPILE -// -void optional_reference__test_assignment2() -{ - boost::optional opt ; - int v = 2 ; - int& r = v ; - opt.reset ( r ) ; -} - - diff --git a/test/optional_test_ref_fail1c.cpp b/test/optional_test_ref_fail1c.cpp deleted file mode 100644 index 1842741..0000000 --- a/test/optional_test_ref_fail1c.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (C) 2003, Fernando Luis Cacciola Carballal. -// -// Use, modification, and distribution is subject to the Boost Software -// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) -// -// See http://www.boost.org/lib/optional for documentation. -// -// You are welcome to contact the author at: -// fernando_cacciola@hotmail.com -// -#include "boost/optional.hpp" - -// -// THIS TEST SHOULD FAIL TO COMPILE -// -void optional_reference__test_no_converting_assignment() -{ - boost::optional opt ; - short v = 1 ; - short& r = v ; - opt = r ; -} - - diff --git a/test/optional_test_ref_fail5.cpp b/test/optional_test_ref_fail5.cpp deleted file mode 100644 index 0425243..0000000 --- a/test/optional_test_ref_fail5.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (C) 2003, Fernando Luis Cacciola Carballal. -// -// Use, modification, and distribution is subject to the Boost Software -// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) -// -// See http://www.boost.org/lib/optional for documentation. -// -// You are welcome to contact the author at: -// fernando_cacciola@hotmail.com -// -#include "boost/optional.hpp" - -// -// THIS TEST SHOULD FAIL TO COMPILE -// -void optional_reference__test_no_converting_initialization() -{ - short v = 1 ; - short& r = v; - boost::optional opt(r) ; -} - -