diff options
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro')
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc b/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc index 0e29acfcee2..7e27a320c47 100644 --- a/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc +++ b/libstdc++-v3/testsuite/17_intro/using_namespace_std_tr1_neg.cc @@ -1,7 +1,7 @@ // { dg-options "-std=gnu++0x" } // { dg-do compile } -// Copyright (C) 2007, 2009 Free Software Foundation, Inc. +// Copyright (C) 2007, 2008, 2009, 2010 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 @@ -18,6 +18,9 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// NB: parallel-mode uses TR1 bits... +#undef _GLIBCXX_PARALLEL + #include <algorithm> #include <array> #include <bitset> @@ -63,4 +66,4 @@ namespace gnu using namespace std::tr1; // { dg-error "is not a namespace-name" } } -// { dg-error "expected namespace-name before" "" { target *-*-* } 63 } +// { dg-error "expected namespace-name before" "" { target *-*-* } 66 } |