☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
pmf2.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/pmf2.C
code
plain
raw
1
// { dg-do assemble }
2
3
// submitted by David C Binderman <
[email protected]
>
4
5
struct S
6
{
7
void f();
8
};
9
10
void (S ::* pmf) ();
11
12
S * pf;
13
14
void
15
f()
16
{
17
pmf = & pf->f; // { dg-error "" } not a valid pmf expression
18
}