bcc10.c
来自「开放源码的编译器open watcom 1.6.0版的源代码」· C语言 代码 · 共 18 行
C
18 行
struct S9{
int a;
int b( int );
};
void main( void )
{
const S9 cs9 = { 0 };
volatile S9 vs9;
// function: b( S9 *, int )
// passed: ( S9 const *, int )
cs9.b( 5 ); // should be error
// function: b( S9 *, int )
// passed: ( S9 volatile *, int )
vs9.b( 7 ); // is ok
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?