oper1.c

来自「gcc-you can use this code to learn somet」· C语言 代码 · 共 20 行

C
20
字号
// { dg-do run }// Copyright 2002 Free Software Foundation// Contributed by Jason Merrill <jason@redhat.com>// Make sure the GNU extension of accepting dropping cv-qualifiers for// the implicit this argument does not kick in when taking the address// of an object, since this extension would change the meaning of a// well-defined program.struct A {  A* operator&() { return 0; }};int main (){  const A a = {};  return (&a == 0);}

⌨️ 快捷键说明

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