default_weaktoshared.cc: Add required dg-option for cygwin and darwin targets.

2007-12-16  Jonathan Wakely  <jwakely-gcc@gmail.com>

	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add
	required dg-option for cygwin and darwin targets.
	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.

From-SVN: r130995
This commit is contained in:
Jonathan Wakely 2007-12-16 22:31:16 +00:00 committed by Jonathan Wakely
parent b7970354e8
commit dbf3a49233
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-12-16 Jonathan Wakely <jwakely-gcc@gmail.com>
* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add
required dg-option for cygwin and darwin targets.
* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
2007-12-15 Jonathan Wakely <jwakely-gcc@gmail.com>
* include/tr1_impl/boost_shared_ptr.h: Add support for allocators,

View File

@ -21,6 +21,7 @@
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
// { dg-options "-pthread -std=gnu++0x" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
// { dg-options "-pthreads -std=gnu++0x" { target *-*-solaris* } }
// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } }
#include <memory>
#include <random>

View File

@ -21,6 +21,7 @@
// { 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* } }
#include <memory>
#include <random>