aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tls/thread_local12f.C
blob: e7795dc060b393bfc5ad75498da60d1fb15bec41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/60702
// { dg-do run { target c++11 } }
// { dg-add-options tls }
// { dg-require-effective-target tls_runtime }

#include "thread_local11.h"

int
main ()
{
  if (*f6 () != 42) abort ();
}