parse3.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 24 行

C
24
字号
// { dg-do assemble  }// these are marked as expected errors because they evidence an// ambiguity in the grammar between expressions and declarations.// when the parser's been cleaned up or rewritten, these two error// markers can go away, since they'll no longer occur.// Fixed. PR 8545, 2001 01 23class A{  public:    int high;    unsigned int low;    A operator+(const A in);};A A::operator+(const A in){    if (high==0)      return A();    // this works    else      return (A());  // this works not}

⌨️ 快捷键说明

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