aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tls/thread_local12k.C
blob: 589e87226ab8629709b420580314b02026590c7d (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 (f11<0> ()->i != 42) abort ();
}