summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tls/thread_local5.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/tls/thread_local5.C')
-rw-r--r--gcc/testsuite/g++.dg/tls/thread_local5.C1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/tls/thread_local5.C b/gcc/testsuite/g++.dg/tls/thread_local5.C
index c4d5ff01bf5..61fea722dc2 100644
--- a/gcc/testsuite/g++.dg/tls/thread_local5.C
+++ b/gcc/testsuite/g++.dg/tls/thread_local5.C
@@ -30,6 +30,7 @@ void f()
void *thread_main(void *)
{
f(); f(); f();
+ return 0;
}
int main()