OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
conv8.C
1
// { dg-do assemble }
2
// Origin: Jakub Jelinek <jakub@redhat.com>
3
4
class bar
5
{
6
public:
7
bar();
8
virtual ~bar();
9
static void a();
10
};
11
12
class baz : public bar
13
{
14
};
15
16
class foo : virtual public baz
17
{
18
public:
19
static void a();
20
void b();
21
};
22
23
typedef void (bar::*T)();
24
T d;
25
26
void foo::a()
27
{
28
typedef void(foo::*t)();
29
t c = & foo::b;
30
d = (T) c; // { dg-warning "" } pointer to member cast
31
}