diff options
author | Dan Albert <danalbert@google.com> | 2015-06-17 11:09:54 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-06-17 14:15:22 -0700 |
commit | f378ebf14df0952eae870c9865bab8326aa8f137 (patch) | |
tree | 31794503eb2a8c64ea5f313b93100f1163afcffb /gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex | |
parent | 2c58169824949d3a597d9fa81931e001ef9b1bd0 (diff) | |
download | toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.tar.gz toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.tar.bz2 toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.zip |
Delete old versions of GCC.
Change-Id: I710f125d905290e1024cbd67f48299861790c66c
Diffstat (limited to 'gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex')
12 files changed, 0 insertions, 555 deletions
diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc deleted file mode 100644 index 3abff9a5d..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc +++ /dev/null @@ -1,49 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <system_error> -#include <testsuite_hooks.h> - -int main() -{ - bool test __attribute__((unused)) = true; - typedef std::recursive_mutex mutex_type; - - try - { - mutex_type m1; - } - catch (const std::system_error& e) - { - VERIFY( false ); - } - catch (...) - { - VERIFY( false ); - } - - return 0; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc deleted file mode 100644 index 6c6cefa17..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc +++ /dev/null @@ -1,36 +0,0 @@ -// { dg-do compile } -// { dg-options "-std=gnu++0x" } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> - -void test01() -{ - // assign - typedef std::recursive_mutex mutex_type; - mutex_type m1; - mutex_type m2; - m1 = m2; -} - -// { dg-error "used here" "" { target *-*-* } 32 } -// { dg-error "deleted function" "" { target *-*-* } 135 } diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc deleted file mode 100644 index b62011b8b..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc +++ /dev/null @@ -1,35 +0,0 @@ -// { dg-do compile } -// { dg-options "-std=gnu++0x" } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> - -void test01() -{ - // assign - typedef std::recursive_mutex mutex_type; - mutex_type m1; - mutex_type m2(m1); -} - -// { dg-error "used here" "" { target *-*-* } 31 } -// { dg-error "deleted function" "" { target *-*-* } 134 } diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc deleted file mode 100644 index 7cc84c124..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc +++ /dev/null @@ -1,51 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <system_error> -#include <testsuite_hooks.h> - -int main() -{ - bool test __attribute__((unused)) = true; - typedef std::recursive_mutex mutex_type; - - try - { - mutex_type m; - m.lock(); - } - catch (const std::system_error& e) - { - // Destroying locked mutex raises system error, or undefined. - // POSIX == may fail with EBUSY. - } - catch (...) - { - VERIFY( false ); - } - - return 0; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc deleted file mode 100644 index 770f15520..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc +++ /dev/null @@ -1,64 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <system_error> -#include <testsuite_hooks.h> - -int main() -{ - bool test __attribute__((unused)) = true; - typedef std::recursive_mutex mutex_type; - - try - { - mutex_type m; - m.lock(); - - // Lock already locked recursive mutex. - try - { - // XXX Will not block. - m.lock(); - } - catch (const std::system_error& e) - { - VERIFY( false ); - } - - m.unlock(); - m.unlock(); - } - catch (const std::system_error& e) - { - VERIFY( false ); - } - catch (...) - { - VERIFY( false ); - } - - return 0; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc deleted file mode 100644 index a961c44b5..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc +++ /dev/null @@ -1,51 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <system_error> -#include <testsuite_hooks.h> - -int main() -{ - bool test __attribute__((unused)) = true; - typedef std::recursive_mutex mutex_type; - - try - { - mutex_type m; - mutex_type::native_handle_type n = m.native_handle(); - (void)n; - } - catch (const std::system_error& e) - { - VERIFY( false ); - } - catch (...) - { - VERIFY( false ); - } - - return 0; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc deleted file mode 100644 index c66e75182..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc +++ /dev/null @@ -1,33 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - -#include <mutex> -#include <thread/all.h> - -int main() -{ - typedef std::recursive_mutex test_type; - __gnu_test::compare_type_to_native_type<test_type>(); - return 0; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc deleted file mode 100644 index 946c00ab9..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc +++ /dev/null @@ -1,31 +0,0 @@ -// { dg-do compile } -// { dg-options "-std=gnu++0x" } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <testsuite_common_types.h> - -void test01() -{ - __gnu_test::standard_layout test; - test.operator()<std::recursive_mutex>(); -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc deleted file mode 100644 index 030eecb98..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc +++ /dev/null @@ -1,33 +0,0 @@ -// { dg-do compile } -// { dg-options "-std=gnu++0x" } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// 2008-03-18 Benjamin Kosnik <bkoz@redhat.com> - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> - -void test01() -{ - // Check for required typedefs - typedef std::recursive_mutex test_type; - typedef test_type::native_handle_type type; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc deleted file mode 100644 index 0a0057a67..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc +++ /dev/null @@ -1,52 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <system_error> -#include <testsuite_hooks.h> - -int main() -{ - bool test __attribute__((unused)) = true; - typedef std::recursive_mutex mutex_type; - - try - { - mutex_type m; - bool b = m.try_lock(); - VERIFY( b ); - m.unlock(); - } - catch (const std::system_error& e) - { - VERIFY( false ); - } - catch (...) - { - VERIFY( false ); - } - - return 0; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc deleted file mode 100644 index fc4dbc1d5..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc +++ /dev/null @@ -1,68 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <system_error> -#include <testsuite_hooks.h> - -int main() -{ - bool test __attribute__((unused)) = true; - typedef std::recursive_mutex mutex_type; - - try - { - mutex_type m; - m.lock(); - bool b; - - try - { - b = m.try_lock(); - VERIFY( b ); - m.unlock(); - } - catch (const std::system_error& e) - { - VERIFY( false ); - } - catch(...) - { - VERIFY( false ); - } - - m.unlock(); - } - catch (const std::system_error& e) - { - VERIFY( false ); - } - catch (...) - { - VERIFY( false ); - } - - return 0; -} diff --git a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc b/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc deleted file mode 100644 index 1cdc706bb..000000000 --- a/gcc-4.4.3/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc +++ /dev/null @@ -1,52 +0,0 @@ -// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } -// { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } -// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } -// { dg-require-cstdint "" } -// { dg-require-gthreads "" } - -// Copyright (C) 2008, 2009 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 -// terms of the GNU General Public License as published by the -// Free Software Foundation; either version 3, or (at your option) -// any later version. - -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. - -// You should have received a copy of the GNU General Public License along -// with this library; see the file COPYING3. If not see -// <http://www.gnu.org/licenses/>. - - -#include <mutex> -#include <system_error> -#include <testsuite_hooks.h> - -int main() -{ - bool test __attribute__((unused)) = true; - typedef std::recursive_mutex mutex_type; - - try - { - // Unlock mutex that hasn't been locked. - mutex_type m; - m.unlock(); - } - catch (const std::system_error& e) - { - // POSIX == EPERM - VERIFY( true ); - } - catch (...) - { - VERIFY( false ); - } - - return 0; -} |