cv05.cpp
来自「开放源码的编译器open watcom 1.6.0版的源代码」· C++ 代码 · 共 42 行
CPP
42 行
#include "dump.h"
void f1( int *const *const volatile *const *const volatile y1){};
void f2( int volatile *const *const volatile *const volatile * volatile y2 ){};
void f3( int volatile *const *const volatile *const *const volatile ){};
void f4( int volatile *const *const volatile *const * y4 ){};
void f5( int volatile *const *const volatile *const * y5 ){};
void f6( int const volatile * const volatile* const volatile *const volatile *const volatile* y6 ){};
int main()
{
#if __WATCOM_REVISION__ >= 8
int *const * volatile *const * volatile x1;
int *const *const volatile *const *const volatile y1 = x1;
int volatile *const * volatile * volatile * volatile x2;
int volatile *const *const volatile *const volatile * y2 = x2;
int volatile *const * volatile * * volatile x3;
int volatile *const *const volatile *const *const volatile y3 = x3;
int volatile *const * volatile * * x4;
int volatile *const *const volatile *const * y4 = x4;
int volatile *const * volatile * * volatile x5;
int volatile *const *const volatile *const * y5 = x5;
int *****x6;
int const volatile * const volatile* const volatile *const volatile *const volatile* y6 = x6;
f1( x1 );
f2( x2 );
f3( x3 );
f4( x4 );
f5( x5 );
f6( x6 );
#endif
return errors != 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?