]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/testsuite/23_containers/multiset/modifiers/erase/dr130-linkage-check.cc
Update copyright years.
[gcc.git] / libstdc++-v3 / testsuite / 23_containers / multiset / modifiers / erase / dr130-linkage-check.cc
CommitLineData
3b31a727
BK
1// { dg-require-effective-target ia32 }
2// { dg-require-sharedlib "" }
3// { dg-options "-fno-inline -std=gnu++11 ./testsuite_shared.so" }
4// 2013-06-03 Benjamin Kosnik <bkoz@redhat..com>
5//
818ab71a 6// Copyright (C) 2013-2016 Free Software Foundation, Inc.
3b31a727
BK
7//
8// This file is part of the GNU ISO C++ Library. This library is free
9// software; you can redistribute it and/or modify it under the
10// terms of the GNU General Public License as published by the
11// Free Software Foundation; either version 3, or (at your option)
12// any later version.
13//
14// This library is distributed in the hope that it will be useful,
15// but WITHOUT ANY WARRANTY; without even the implied warranty of
16// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17// GNU General Public License for more details.
18//
19// You should have received a copy of the GNU General Public License along
20// with this library; see the file COPYING3. If not see
21// <http://www.gnu.org/licenses/>.
22
23#include <testsuite_containers.h>
24
25int main()
26{
27 typedef std::multiset<int> container_type;
28
29 {
30 container_type s { 0, 1, 2 };
31 __gnu_test::linkage_check_cxx98_cxx11_erase(s);
32 }
33
34 {
35 container_type s { 0, 1, 2 };
36 __gnu_test::linkage_check_cxx98_cxx11_erase_iterators(s);
37 }
38
39 return 0;
40}
This page took 0.296 seconds and 5 git commands to generate.