dtor8.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 39 行

C
39
字号
// Special g++ Options: -O1// Origin: Mark Mitchell <mark@codesourcery.com>int result;struct S{  S ();  S (const S&);  ~S ();    int i;  double d[18];};S* s;S::S (){  s = this;}S::~S (){  if (s != this)    result = 1;}inline S f (){  return S ();}int main (){  f ();  return result;}

⌨️ 快捷键说明

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