2 /* { dg-require-effective-target tls } */
3 /* { dg-add-options tls } */
4 /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
5 /* { dg-additional-sources "../../../objc-obj-c++-shared/Object1.m" } */
7 #include "../../../objc-obj-c++-shared/Object1.h"
8 extern void _exit(int);
10 @interface tsObj: Object {
22 static __thread int as = 3;
29 int main (int ac, char *av[])
32 tsObj *to = [tsObj new];