static2.C: invocation of static data member of type pointer-to-function denoted as...

* g++.old-deja/g++.other/static2.C: invocation of static data
 	member of type pointer-to-function denoted as non-static member

From-SVN: r22434
This commit is contained in:
Alexandre Oliva 1998-09-15 17:05:28 +00:00 committed by Alexandre Oliva
parent e1b81ca4fd
commit c9f81ec25b
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,8 @@
1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/static2.C: invocation of static data
member of type pointer-to-function denoted as non-static member
* g++.old-deja/g++.other/typedef5.C: add some more tests involving
checks involving function types and aliases

View File

@ -0,0 +1,10 @@
// Build don't link:
// Based on a test case by Koos Vriezen <koos@polder.ubc.kun.nl>
struct foo {
static void (*mystatic) ();
};
void bar(foo& t) {
t.mystatic ();
}