c99-tag-2.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 17 行
C
17 行
/* Test for handling of tags. A struct defined in an inner scope does not match one declared in an outer scope. *//* Origin: Joseph Myers <jsm@polyomino.org.uk> *//* { dg-do compile } *//* { dg-options "-std=iso9899:1999 -pedantic-errors" } */struct s;struct t { struct s *p; } x;voidf (void){ /* This is a different struct s from the outer one. */ struct s { int a; } y; x.p = &y; /* { dg-error "incompatible" } */}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?