OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libstdc++-v3/] [testsuite/] [17_intro/] [using_namespace_std_tr1_neg.cc] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 424 jeremybenn
// { dg-options "-std=gnu++0x" }
2
// { dg-do compile }
3
 
4
// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5
//
6
// This file is part of the GNU ISO C++ Library.  This library is free
7
// software; you can redistribute it and/or modify it under the
8
// terms of the GNU General Public License as published by the
9
// Free Software Foundation; either version 3, or (at your option)
10
// any later version.
11
 
12
// This library is distributed in the hope that it will be useful,
13
// but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
// GNU General Public License for more details.
16
 
17
// You should have received a copy of the GNU General Public License along
18
// with this library; see the file COPYING3.  If not see
19
// <http://www.gnu.org/licenses/>.
20
 
21
// NB: parallel-mode uses TR1 bits...
22
#undef _GLIBCXX_PARALLEL
23
 
24
#include <algorithm>
25
#include <array>
26
#include <bitset>
27
#include <complex>
28
#include <deque>
29
#include <exception>
30
#include <fstream>
31
#include <functional>
32
#include <iomanip>
33
#include <ios>
34
#include <iosfwd>
35
#include <iostream>
36
#include <istream>
37
#include <iterator>
38
#include <limits>
39
#include <list>
40
#include <locale>
41
#include <map>
42
#include <memory>
43
#include <new>
44
#include <numeric>
45
#include <ostream>
46
#include <queue>
47
#include <random>
48
#include <regex>
49
#include <set>
50
#include <sstream>
51
#include <stack>
52
#include <stdexcept>
53
#include <streambuf>
54
#include <string>
55
#include <tuple>
56
#include <typeinfo>
57
#include <type_traits>
58
#include <unordered_map>
59
#include <unordered_set>
60
#include <utility>
61
#include <valarray>
62
#include <vector>
63
 
64
namespace gnu
65
{
66
  using namespace std::tr1;  // { dg-error "is not a namespace-name" }
67
}
68
 
69
// { dg-error "expected namespace-name before" "" { target *-*-* } 66 } 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.