repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
opt
/
call1.C
blob
642e024084927a7dd7ac4cfbbf969bbd2cccb33a
1
// { dg-options "-O2" }
2
3
void a (void (*f)())
4
{
5
f();
6
}
7
8
struct RunState
9
{
10
static void runcallback() { }
11
static void wait()
12
{
13
a (runcallback);
14
}
15
};
16
17
int main()
18
{
19
RunState::wait();
20
return 0;
21
}