Debian Codegraph @

gcc/testsuite/g++.dg/ext/attr-parm-1.C

raw
1 // { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ia32 || lp64 } } } }
2 // PR 94946
3 class a {
4 #ifdef __LP64__
5 template <typename b> a(b(__attribute__((sysv_abi)) *c)());
6 template <typename b> a(b(__attribute__((ms_abi)) *c)());
7 #else
8 template <typename b> a(b (*)());
9 template <typename b> a(b(__attribute__((fastcall)) *c)());
10 #endif
11 };