diag0252.c

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C语言 代码 · 共 18 行

C
18
字号
// compiled -ze

struct S {

    static int foo( double ); 	// (2)
    int foo( int );		// (1)
    int moo( int ); 		// (3)

    static int goo( double ); 	// (4)

    int goo( int (S::*)( int ) );	// will match (1)
    int goo( int (*)( double ) );	// will match (2)

    void fun() {
        goo( S::foo );	// ambig with extensions enabled 
    }
};

⌨️ 快捷键说明

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