blob: 57fbe430e1c9c165b62b0117d7d2b44c5eb2d7d1 [file] [log] [blame]
// PR c++/49808
template <class X, X g>
struct A
{
A() { float r = g(0); }
};
struct f_t
{
float operator() (float) const { return 1; }
};
f_t f;
A<f_t&, f> x;