Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
access29.C
blob: 01f1187cde19eac47a82a2c28eaf5d1fc9d26924 [
file
] [
log
] [
blame
]
// PR c++/22149
template
<
void
(*
FOOBAR
)
()
>
class
foo
{
public
:
foo
()
{
(*
FOOBAR
)
();
}
};
class
bar
{
public
:
bar
()
{
foo
<
bar
::
foobar
>
tmp
;
}
private
:
static
void
foobar
()
{
}
};
int
main
()
{
bar b
;
}