deprecated-2.c

来自「用于进行gcc测试」· C语言 代码 · 共 8 行

C
8
字号
/* Test __attribute__((deprecated)).  Test types without names.  *//* Origin: Joseph Myers <jsm@polyomino.org.uk> *//* { dg-do compile } *//* { dg-options "" } */struct { int a; } __attribute__((deprecated)) x; /* { dg-warning "type is deprecated" } */typeof(x) y; /* { dg-warning "type is deprecated" } */

⌨️ 快捷键说明

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