891229_02.c

来自「俄罗斯高人Mamaich的Pocket gcc编译器(运行在PocketPC上)」· C语言 代码 · 共 25 行

C
25
字号
// g++ 1.36.1 bug 891229_02// g++ limits the scope of names which are declared as typedef names within// another type to that other type.// This conflicts with the (global) scope given to such names by cfront 2.0.// Cfront 2.0 passes this test.// Note 2/15/94:  The standard has changed; this limiting of scope is correct// behavior.  See 9.9.  --jason// keywords: typedef, nested types, scopestruct foo {	foo ();	typedef void (*function_p) (void);};function_p fp;		// ERROR - no such type in scopefoo::foo () {}int main () { return 0; }

⌨️ 快捷键说明

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