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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
pmf6.C
blob
12d1ebef2870fb785de1da06b080691ede060ccc
1
// { dg-do assemble }
2
// { dg-options "" }
3
4
class S {
5
public:
6
void (S::*pmf)();
7
void foo() {
8
pmf(); // { dg-warning "" }
9
}
10
static void foo1(S* sp) {
11
(sp->pmf)(); // { dg-error "" }
12
}
13
};