blob: 63749f639c9a527a16958930f7c6ee656d577e37 [file] [log] [blame]
/* { 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});
}