attrib3.c
来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 22 行
C
22 行
// { dg-do run { target i?86-*-* } }// { dg-skip-if "" { i?86-*-* } { "-m64" } { "" } }// Test for proper handling of attributes in template instantiation.// Contributed by Jason Merrill <jason@cygnus.com>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 + -
显示快捷键?