2008-04-04 Farid Zaripov <farid_zaripov@epam.com>
* tests/regress/23.vector.modifiers.stdcxx-495.cpp: Regression test
deleted since STDCXX-495 issue is deferred until 4.3 release.
git-svn-id: https://svn.apache.org/repos/asf/stdcxx/branches/4.2.x@644668 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tests/regress/23.vector.modifiers.stdcxx-495.cpp b/tests/regress/23.vector.modifiers.stdcxx-495.cpp
deleted file mode 100644
index 5a314a6..0000000
--- a/tests/regress/23.vector.modifiers.stdcxx-495.cpp
+++ /dev/null
@@ -1,63 +0,0 @@
-/************************************************************************
- *
- * 23.vector.modifiers.stdcxx-495.cpp - regression test for STDCXX-495
- *
- * https://issues.apache.org/jira/browse/STDCXX-495
- *
- * $Id$
- *
- ***************************************************************************
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * permissions and limitations under the License.
- *
- **************************************************************************/
-
-#include <cassert>
-#include <vector>
-
-struct X
-{
- int __val;
-
- X () : __val (0) { }
- X (int val) : __val (val) { }
- X (const X& x) : __val (x.__val) { }
- X& operator= (const X& x) { __val = x.__val; return *this; }
-};
-
-bool operator== (const X& left, const X& right)
-{
- return left.__val == right.__val;
-}
-
-template <class T>
-void test ()
-{
- std::vector<T> vec;
- vec.push_back (T (1));
- vec.push_back (T (2));
- vec.insert (vec.begin (), vec.back ());
- assert (vec.front () == vec.back ());
-}
-
-int main ()
-{
- test<int> ();
- test<X> ();
-
- return 0;
-}