nested4.c

来自「gcc3.2.1源代码」· C语言 代码 · 共 18 行

C
18
字号
// From: quipu@ulrik.uio.no// Subject: extern "C" nested class// Date: Fri, 13 Aug 1993 15:33:53 +0200// Build don't link:extern "C" {  struct A {    struct B { int j; } *x;  };}voidfoo () {  A a;  struct A::B *b;  b = a.x;	// gets bogus error - type `B' is not a base type for type `B'}

⌨️ 快捷键说明

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