2015-05-05 Yvan Roux <yvan.roux@linaro.org>
[official-gcc.git] / libstdc++-v3 / testsuite / ext / profile / mutex_extensions_neg.cc
blobdd19f1406b18509f2bdb2a86a0bb6b62db73050f
1 // { dg-options "-D_GLIBCXX_DEBUG -D_GLIBCXX_PROFILE" }
2 // { dg-do compile }
4 // -*- C++ -*-
6 // Otherwise we may get *multiple* errors.
7 #undef _GLIBCXX_PARALLEL
9 // Copyright (C) 2006-2015 Free Software Foundation, Inc.
11 // This file is part of the GNU ISO C++ Library. This library is free
12 // software; you can redistribute it and/or modify it under the
13 // terms of the GNU General Public License as published by the
14 // Free Software Foundation; either version 3, or (at your option)
15 // any later version.
17 // This library is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
22 // You should have received a copy of the GNU General Public License along
23 // with this library; see the file COPYING3. If not see
24 // <http://www.gnu.org/licenses/>.
26 #include <vector>
28 // { dg-error "multiple inlined namespaces" "" { target *-*-* } 322 }