attrib3.c
来自「用于进行gcc测试」· C语言 代码 · 共 22 行
C
22 行
// { dg-do run { target i?86-*-* x86_64-*-* } }// { dg-require-effective-target ilp32 }// 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 + -
显示快捷键?