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
* lib/obj-c++.exp (obj-c++_target_compile): Declare global variable,
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
overload5.C
1
// { dg-do link }
2
3
struct S {};
4
5
struct T : public S {};
6
7
struct U : public T {};
8
9
void f(int T::*) {}
10
void f(int U::*);
11
12
void g(void (T::*)(int)) {}
13
void g(void (U::*)(int));
14
15
int main()
16
{
17
int S::*ip;
18
void (S::*fp)(int);
19
20
f(ip);
21
g(fp);
22
}