1 /* Invalid initializations. */
2 /* { dg-require-effective-target tls } */
9 /* Note that this is valid in C++ (unlike C) as a run-time initialization. */
12 /* Valid because "const int k" is an integral constant expression in C++. */
13 __thread const int k = 42;
14 __thread const int l = k;