repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
i386: Fix cstorebf4 fp comparison operand [PR117495]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib42.C
blob
307a5d6b51f7e00535c5434658b52816a5741bf7
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
}