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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
pmf2.C
blob
e28a77022204ac4653b680e3daf69ef5ad47bcd4
1
// { dg-do assemble }
2
3
// submitted by David C Binderman <dcb@pncl.co.uk>
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
}