blob: 6b5f09ae2d01a39328c0dc5481f202552ccefc08 [file] [log] [blame]
// instantiation cannot turn a data member into a function!
typedef int (frib) (int);
template <typename T> class X
{
T v; // { dg-error "declared function" }
};
X<frib> v;