access6.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 18 行
C
18 行
// { dg-do compile }// Origin: Detlef Vollmann <dv@vollmann.ch>// PR c++/8389// Access control ICE for typename during instantiation and name manglingtemplate <class> class Base { protected: typedef int Type;}; template <class T> struct Derived : public Base<T> { typedef typename Base<T>::Type Type; template <class Arg> void f(Type = Type()) {};}; template void Derived<char>::f<int> (Type);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?