base1.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 21 行

C
21
字号
// { dg-do assemble  }// Copyright (C) 2000 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 25 Nov 2000 <nathan@codesourcery.com>// We lost information about which base wasn't an aggregate type, plus we// allowed cv qualifed bases via typedefs.typedef int I;typedef int cI;struct A {};typedef const A cA;typedef A pA;struct B : I {};  // { dg-error "" } not an aggregatestruct C : cI {}; // { dg-error "" } not an aggregatestruct D : cA {}; // { dg-error "" } cv qualifiedstruct E : pA {};

⌨️ 快捷键说明

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