attrib3.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 21 行

C
21
字号
// Test for proper handling of attributes in template instantiation.// Contributed by Jason Merrill <jason@cygnus.com>// Skip if not target: i?86-*-*template <class T>struct A {  static void f () __attribute__ ((stdcall));};template <class T> voidA<T>::f () { }void g (void (__attribute__ ((stdcall)) *p)()) { }void g (int);intmain (){  g (&A<int>::f);}

⌨️ 快捷键说明

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