PR tree-optimization/83655 - ICE on an invalid call to memcpy declared with no prototype
[official-gcc.git] / libstdc++-v3 / testsuite / 17_intro / using_namespace_std_exp_neg.cc
blob5821f2f8cf0bc68cd73d04943677fcb4f3ead7df
1 // { dg-do compile { target c++11 } }
3 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
9 // any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
20 #include <algorithm>
21 #include <array>
22 #include <bitset>
23 #include <complex>
24 #include <deque>
25 #include <exception>
26 #include <fstream>
27 #include <functional>
28 #include <iomanip>
29 #include <ios>
30 #include <iosfwd>
31 #include <iostream>
32 #include <istream>
33 #include <iterator>
34 #include <limits>
35 #include <list>
36 #include <locale>
37 #include <map>
38 #include <memory>
39 #include <new>
40 #include <numeric>
41 #include <ostream>
42 #include <queue>
43 #include <random>
44 #include <regex>
45 #include <set>
46 #include <sstream>
47 #include <stack>
48 #include <stdexcept>
49 #include <streambuf>
50 #include <string>
51 #include <tuple>
52 #include <typeinfo>
53 #include <type_traits>
54 #include <unordered_map>
55 #include <unordered_set>
56 #include <utility>
57 #include <valarray>
58 #include <vector>
60 namespace gnu
62 using namespace std::experimental; // { dg-error "is not a namespace-name" }
65 // { dg-error "expected namespace-name before" "" { target *-*-* } 62 }