📄 anon-struct-5.c
字号:
/* Test bad warning for anonymous int in structure. Bug 17189. *//* { dg-do compile } *//* { dg-options "-std=c99 -pedantic-errors" } */struct Foo { int; }; /* { dg-bogus "unnamed" } *//* { dg-error "declaration does not declare anything" "int;" { target *-*-* } 5 } *//* { dg-error "struct has no members" "no members" { target *-*-* } 5 } */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -