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;
}