[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / g++.dg / other / pr81422.C
blob5bcc948996ea4943ae41e413a4a193f5f045fb8b
1 /* { dg-do compile } */
2 /* { dg-options "-O0" } */
4 struct DArray
6     __SIZE_TYPE__ length;
7     int* ptr;
8 };
10 void foo35(DArray)
12     static __thread int x[5];
13     foo35({5, (int*)&x});