From f378ebf14df0952eae870c9865bab8326aa8f137 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Wed, 17 Jun 2015 11:09:54 -0700 Subject: Delete old versions of GCC. Change-Id: I710f125d905290e1024cbd67f48299861790c66c --- .../requirements/explicit_instantiation.cc | 32 -------------------- .../20_util/enable_if/requirements/typedefs.cc | 32 -------------------- .../20_util/enable_if/requirements/typedefs_neg.cc | 35 ---------------------- 3 files changed, 99 deletions(-) delete mode 100644 gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc delete mode 100644 gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc delete mode 100644 gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc (limited to 'gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements') diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc b/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc deleted file mode 100644 index 802a49984..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/explicit_instantiation.cc +++ /dev/null @@ -1,32 +0,0 @@ -// { dg-options "-std=gnu++0x" } -// { dg-do compile } - -// 2007-05-02 Benjamin Kosnik - -// Copyright (C) 2007, 2009 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . - - -// NB: This file is for testing type_traits with NO OTHER INCLUDES. - -#include - -namespace std -{ - typedef short test_type; - template struct enable_if; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc b/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc deleted file mode 100644 index f17eebadd..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs.cc +++ /dev/null @@ -1,32 +0,0 @@ -// { dg-do compile } -// { dg-options "-std=gnu++0x" } - -// 2007-05-02 Benjamin Kosnik -// -// Copyright (C) 2007, 2009 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . - -#include - -void test01() -{ - bool test __attribute__((unused)) = true; - using std::enable_if; - - // Positive tests. - typedef enable_if::type test1_type; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc b/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc deleted file mode 100644 index 6ab1fef33..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/20_util/enable_if/requirements/typedefs_neg.cc +++ /dev/null @@ -1,35 +0,0 @@ -// { dg-do compile } -// { dg-options "-std=gnu++0x" } - -// 2007-05-02 Benjamin Kosnik -// -// Copyright (C) 2007, 2009 Free Software Foundation, Inc. -// -// This file is part of the GNU ISO C++ Library. This library is free -// software; you can redistribute it and/or modify it under the -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// . - -#include -#include - -void test01() -{ - bool test __attribute__((unused)) = true; - using std::enable_if; - - // Negative tests. - typedef enable_if::type test2_type; -} - -// { dg-error "does not name a type" "" { target *-*-* } 32 } -- cgit v1.2.3