⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spec12.c

📁 linux下的gcc编译器
💻 C
字号:
// { dg-do compile }// Contributed by: Wolfgang Bangerth <bangerth at dealii dot org>// PR c++/14409: Accepts invalid function signature for explicit instantiationstruct X {     template <typename U>     void foo (U) {}    template <typename U>     void foo_const (U) const {}};template void X::foo (int); template void X::foo_const (int) const; template void X::foo (int) const;   // { dg-error "" }template void X::foo_const (int);   // { dg-error "" }

⌨️ 快捷键说明

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