diag0168.c
来自「开放源码的编译器open watcom 1.6.0版的源代码」· C语言 代码 · 共 35 行
C
35 行
#if !defined( ARCH ) || ( ARCH != 386 )
#error system dependent test for 386
#else
// test that autos are treated as __near
// compile -ml
struct S {
int s;
};
void foo( int __near * );
int k;
S sf;
void goo( int i, S sp )
{
S sa;
foo( &i ); // ok
foo( &sp.s ); // truncation (may be ok in the future)
int j;
foo( &j ); // ok
foo( &sa.s ); // ok
foo( &k ); // truncation
foo( &sf.s ); // truncation
}
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?