pr22071.c

来自「用于进行gcc测试」· C语言 代码 · 共 15 行

C
15
字号
/* { dg-do compile } *//* { dg-options "-O2" } *//* This code ends up taking the address of part of the structure that is padding,    and because there is no real field there, the structure alias analyzer would    abort.  */struct empty_class {};struct class1 : empty_class{  class1() {}  empty_class value_;};struct lambda : class1 { };lambda _1;

⌨️ 快捷键说明

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