diag-3.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 11 行

C
11
字号
/* Report invalid extern and __thread combinations.  */extern int j;		/* { dg-error "previous declaration" } */__thread int j;		/* { dg-error "follows non thread-local" } */extern __thread int i;	/* { dg-error "previous declaration" } */int i;			/* { dg-error "follows thread-local" } */extern __thread int k;	/* This is fine.  */__thread int k;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?