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
* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
inline5.C
1
// Build don't link:
2
// Origin: Matt Austern <austern@isolde.engr.sgi.com>
3
// Special g++ Options: -O2
4
5
class X;
6
7
extern X* tab1;
8
9
struct Y {
10
explicit Y(int);
11
};
12
13
void* x ();
14
15
Y k (void *);
16
17
inline void f() { k (x ()); }
18
19
inline void* x ()
20
{
21
return 0;
22
}
23
24
static void g() {
25
f();
26
}
27
28
static void h() {
29
f();
30
}