conpr-1.c

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

C
21
字号
/* { dg-do run } */#include <stdlib.h>class foo_t {    int x;public:    foo_t(void) { x=1; }    int get(void) { return x; }};static foo_t foo __attribute__((init_priority(5000)));int main(void) {    if (foo.get())        exit(0);    else        abort();}

⌨️ 快捷键说明

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