?? crash18.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" }};
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -