☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
access29.C
☽
☼
gcc/testsuite/g++.dg/template/access29.C
code
plain
raw
1
// PR c++/22149
2
3
template < void (*FOOBAR) () >
4
class foo {
5
public:
6
foo () { (*FOOBAR) (); }
7
};
8
9
class bar {
10
public:
11
bar () { foo < bar::foobar > tmp; }
12
private:
13
static void foobar ()
14
{
15
}
16
};
17
18
int
19
main ()
20
{
21
bar b;
22
}