diag0049.c

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

C
53
字号
int i;
int i;

typedef int (F)(int,int);

void *p = new void;
void *q = new F;
void *r = new const void;
void *s = new const int;
void *t = new volatile F;
void *u = new volatile int;

struct Z;
typedef struct X T;
struct X {
    ~T();
    ~Z();
};

union U;
struct U { int i; };

enum colour { RED, WHITE, BLUE };
typedef int colour;

struct id1 id2 { int i; };

struct Q {
    static int foo() const volatile;
    ~Q() const volatile;
};

int foo() const volatile;
int (*bar)() const volatile;

struct NEW1 {} ***foo( struct NEW2 {} ***p );

struct A1 {
    virtual int d( int );
};
struct A2 : A1 {
    int a = 0;
    int b( int ) = 0;
    int virtual c( int ) = 0;
    int d( int ) = 0;
};

not_a_function;

struct NF {
    not_a_function;
};

⌨️ 快捷键说明

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