* testsuite/30_threads/thread/70503.cc: Require -static to work.

From-SVN: r234757
This commit is contained in:
Jonathan Wakely 2016-04-05 18:21:48 +01:00 committed by Jonathan Wakely
parent 268a0ec4ed
commit d5ec69f374
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2016-04-05 Jonathan Wakely <jwakely@redhat.com>
* testsuite/30_threads/thread/70503.cc: Require -static to work.
PR libstdc++/70503
* src/c++11/thread.cc (execute_native_thread_routine,
execute_native_thread_routine_compat): Give internal linkage.

View File

@ -19,6 +19,7 @@
// { dg-options " -std=gnu++11 -static" { target *-*-*gnu* } }
// { dg-require-cstdint "" }
// { dg-require-gthreads "" }
// { dg-require-effective-target static }
extern "C" {
void execute_native_thread_routine(void);