Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/ext/attr-parm-1.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
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 }; |