☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib42.C
☽
☼
gcc/testsuite/g++.dg/ext/attrib42.C
code
plain
raw
1
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
2
3
struct A {
4
__attribute__((fastcall))
5
void f();
6
};
7
8
int main()
9
{
10
typedef void (A::*FP)();
11
FP fp[] = {&A::f}; // { dg-error "cannot convert" }
12
}