(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
other/
pr81422.C
/* { dg-do compile { target c++11 } } */
/* { dg-require-effective-target tls } */
/* { dg-options "-O0" } */

struct DArray
{
    __SIZE_TYPE__ length;
    int* ptr;
};

void foo35(DArray)
{
    static __thread int x[5];
    foo35({5, (int*)&x});
}