dr108.c
来自「linux下编程用 编译软件」· C语言 代码 · 共 16 行
C
16 行
// { dg-do compile }// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>// DR108: Are classes nested in templates dependent?template <class T> struct S { struct I1 { typedef int X; }; struct I2 : public I1 { X x; // { dg-error "does not name a type" } };};// Additional notes on the same line are allowed// { dg-error "" "additional" { target *-*-* } 10 }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?