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
/
template
/
static7.C
blob
edb8e6a8db0e0542073b9a6c5b58e95cfd58be48
1
// PR c++/17530
2
// { dg-do link }
3
4
typedef void (*Func) ();
5
void f (Func) {}
6
struct B
7
{
8
static void staticfunc () {}
9
};
10
template <int>
11
void C(){ f (B::staticfunc); }
12
int main ()
13
{
14
C<0>();
15
return 0;
16
}