1// { dg-do compile } 2static __typeof 0 a __attribute__ ((__weakref__ (""))); 3template <typename> class A 4{ 5 static __thread int b; 6}; 7