]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc
Implement P0012R1, Make exception specifications part of the type system.
[gcc.git] / libstdc++-v3 / testsuite / ext / profile / mutex_extensions_neg.cc
1 // { dg-options "-D_GLIBCXX_DEBUG -D_GLIBCXX_PROFILE" }
2 // { dg-do compile }
3
4 // -*- C++ -*-
5
6 // Otherwise we may get *multiple* errors.
7 #undef _GLIBCXX_PARALLEL
8
9 // Copyright (C) 2006-2016 Free Software Foundation, Inc.
10 //
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.
16 //
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.
21 //
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/>.
25
26 #include <vector>
27
28 // { dg-error "multiple inlined namespaces" "" { target *-*-* } 350 }
29
30 // "template argument 1 is invalid"
31 // { dg-prune-output "tuple:993" }
This page took 0.03874 seconds and 5 git commands to generate.