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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
inline5.C
blob
305fd0ac6083cc077fb505050bd3f545839d8acf
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
}