diag-1.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 31 行
C
31 行
/* Valid __thread specifiers. */__thread int g1;extern __thread int g2;static __thread int g3;void foo(){ extern __thread int l1; static __thread int l2;}struct A { static __thread int i;};__thread int A::i = 42;template <typename T> struct B { static __thread T t;};template <typename T>__thread T B<T>::t = 42;void bar (){ int j = B<int>::t; int k = B<const int>::t;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?