visibility3.c

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

C
23
字号
// Build don't link: // GROUPS passed visibility// visibility file// From: kol@world.std.com (Nikolay Yatsenko)// Date:     Wed, 27 Jan 1993 16:39:00 -0500// Subject:  g++ bug// Message-ID: <199301272139.AA25442@world.std.com>int x;int main(void){  static int s;  int x; // ERROR - declared  extern int g();  struct local {    int g() { return x; }   // illegal (non-static x); g++ does not give error// ERROR -     int h() { return s; }   // ok, but g++ give error  };  return 0;}

⌨️ 快捷键说明

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