diff mbox

[v3] Add a few missing dg-require* in 30_threads

Message ID 4CECE4AD.1010700@oracle.com
State New
Headers show

Commit Message

Paolo Carlini Nov. 24, 2010, 10:10 a.m. UTC
Hi,

noticed while regtesting on darwin. Committed to mainline.

Paolo.

/////////////
2010-11-24  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/30_threads/future/cons/constexpr.cc: Add dg-require*
	directives.
	* testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.
diff mbox

Patch

Index: testsuite/30_threads/shared_future/cons/constexpr.cc
===================================================================
--- testsuite/30_threads/shared_future/cons/constexpr.cc	(revision 167108)
+++ testsuite/30_threads/shared_future/cons/constexpr.cc	(working copy)
@@ -1,5 +1,8 @@ 
 // { dg-do compile }
 // { dg-options "-std=gnu++0x -fno-inline -save-temps" }
+// { dg-require-cstdint "" }
+// { dg-require-gthreads "" }
+// { dg-require-atomic-builtins "" }
 // { dg-final { scan-assembler-not "_ZNSt13shared_futureIvEC2Ev" } }
 // { dg-final { scan-assembler-not "_ZNSt13shared_futureIiEC2Ev" } }
 
Index: testsuite/30_threads/future/cons/constexpr.cc
===================================================================
--- testsuite/30_threads/future/cons/constexpr.cc	(revision 167108)
+++ testsuite/30_threads/future/cons/constexpr.cc	(working copy)
@@ -1,5 +1,8 @@ 
 // { dg-do compile }
 // { dg-options "-std=gnu++0x -fno-inline -save-temps" }
+// { dg-require-cstdint "" }
+// { dg-require-gthreads "" }
+// { dg-require-atomic-builtins "" }
 // { dg-final { scan-assembler-not "_ZNSt6futureIvEC2Ev" } }
 // { dg-final { scan-assembler-not "_ZNSt6futureIiEC2Ev" } }