template6.c
来自「用于进行gcc测试」· C语言 代码 · 共 13 行
C
13 行
// { dg-do assemble }// Copyright (C) 1999 Free Software Foundation// by Alexandre Oliva <oliva@dcc.unicamp.br>// simplified from bug report by Meenaradchagan Vishnu <mvishnu@fore.com>template <typename> struct foo {};template <> void foo(); // { dg-error "not a template function" } bad specializationstruct baz {};template <> void baz (); // { dg-error "not a template function" } bad specialization
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?