⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crash18.c

📁 linux下编程用 编译软件
💻 C
字号:
// { dg-do compile }// GROUPS passed old-aborttypedef int element;class Pix {public:    Pix();    Pix(const Pix&);    // Friend functions so that v == x works as does x == v works    friend int operator==(void *v, const Pix& x) // { dg-error "previously" }    { return v == index; }  // { dg-error "from this location" }    // ??? should be operator!=    friend int operator==(void *v, const Pix& x) // { dg-error "redefinition" }    { return v != index; }private://    friend class List<T>;    element *index; // { dg-error "invalid use of non-static data member" }};

⌨️ 快捷键说明

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